WebDriverMouse class
Support for mouse in WebDriver context.
- Implemented types
Constructors
- WebDriverMouse(WebDriver _driver)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
down(
MouseButton button, {PageLoaderElement? eventTarget, ClickOption? clickOption}) → Future -
Press
buttonon the mouse at its current location withclickOption. IfeventTargetis specified, PageLoader will attempt to fire the corresponding mouse events on that target, otherwise it will fire the events on the target that is under the current mouse location.clickOptionis only used for Html.override -
moveTo(
covariant PageLoaderElement element, int? xOffset, int? yOffset, {List< PageLoaderElement> ? dispatchTo, int? stepPixels, Duration? duration}) → Future -
Move the mouse from previous location to a location relative to
element, offset byxOffsetandyOffset.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
up(
MouseButton button, {PageLoaderElement? eventTarget, ClickOption? clickOption}) → Future -
Release
buttonon the mouse at its current location withclickOption. IfeventTargetis specified, PageLoader will attempt to fire the corresponding mouse events on that target, otherwise it will fire the events on the target that is under the current mouse location.clickOptionis only used for Html.override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited