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. [...]
read-only, override
id String
final
innerSize Rectangle<int>
The inner size of the window.
read-only
location Point<int>
The location of the window.
read / write
rect Rectangle<int>
The location and size of the window.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
size Rectangle<int>
The outer size of the window.
read / write

Methods

close() → void
Closes the window.
maximize() → void
Maximizes the window.
minimize() → void
Minimizes the window. [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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
Returns a string representation of this object.
override

Operators

operator ==(dynamic other) bool
The equality operator. [...]
override