Window class

Constructors

Window(AsyncRequestClient _client, AppiumWebDriverHandler _handler, String? id)

Properties

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

Methods

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

Operators

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