Mouse class

Constructors

Mouse(SyncRequestClient _client, WebDriverHandler _handler)

Properties

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

Methods

click([MouseButton button = MouseButton.primary]) → void
Click any mouse button (at the coordinates set by the last moveTo).
doubleClick() → void
Double-clicks at the current mouse coordinates (set by moveTo).
down([MouseButton button = MouseButton.primary]) → 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}) → void
Move the mouse. [...]
toString() String
Returns a string representation of this object.
override
up([MouseButton button = MouseButton.primary]) → 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. [...]
override