Mouse class Null safety

Constructors

Mouse(AsyncRequestClient _client, WebDriverHandler _handler)

Properties

hashCode int
The hash code for this object.
read-onlyoverride
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

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).
hide({int w3cXOffset = 100, int w3cYOffset = 0}) Future<void>
Moves the mouse away to hide its effect, like hover over element.
moveTo({WebElement? element, int? xOffset, int? yOffset, bool absolute = false}) Future<void>
Move the mouse.
moveToElementCenter(WebElement element, {int? xOffset, int? yOffset}) Future<void>
Moves to element, with an offset of xOffset and yOffset based on the center of element.
moveToElementTopLeft(WebElement element, {int? xOffset, int? yOffset}) Future<void>
Moves to element, with an offset of xOffset and yOffset based on the top left corner of element.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
override
up([MouseButton button = MouseButton.primary]) Future<void>
Releases the mouse button previously held (where the mouse is currently at).

Operators

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