Mouse class

Constructors

Mouse(AsyncRequestClient _client, WebDriverHandler _handler)

Properties

hashCode → int
The hash code for this object. [...]
read-only
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

click([MouseButton button = MouseButton.primary]) → Future<void>
Click any mouse button (at the coordinates set by the last moveTo).
doubleClick() → Future<void>
Double-clicks at the current mouse coordinates (set by moveTo).
down([MouseButton button = MouseButton.primary]) → Future<void>
Click and hold any mouse button (at the coordinates set by the last moveTo command).
moveTo({WebElement element, int xOffset, int yOffset, bool absolute: false}) → Future<void>
Move the mouse. [...]
toString() → String
Returns a string representation of this object.
up([MouseButton button = MouseButton.primary]) → Future<void>
Releases the mouse button previously held (where the mouse is currently at).
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited

Operators

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