Window class

Handle to window.

Upon use, the window will automatically be set as active.

Constructors

Window(SyncRequestClient _client, WebDriverHandler _handler, String id)

Properties

hashCode int
The hash code for this object.
no setteroverride
id String
final
innerSize Rectangle<int>
The inner size of the window.
no setter
location Point<int>
The location of the window.
getter/setter pair
rect Rectangle<int>
The location and size of the window.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size Rectangle<int>
The outer size of the window.
getter/setter pair

Methods

close() → void
Closes the window.
maximize() → void
Maximizes the window.
minimize() → void
Minimizes the window.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setAsActive() → void
Sets the window as active.
setLocation(Point<int> point) → void
Sets the window location.
setSize(Rectangle<int> size) → void
Sets the window size.
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override