WebDriverPointer class
Support for pointer in WebDriver context.
- Implemented types
Constructors
- WebDriverPointer(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}) → Future< void> -
Press at current location. If
eventTarget
is specified, PageLoader will attempt to fire the corresponding pointer events on that target, otherwise it will fire the events on the target that is under the current location.override -
moveTo(
covariant PageLoaderElement element, int? xOffset, int? yOffset, {List< PageLoaderElement> ? dispatchTo, int? stepPixels, Duration? duration}) → Future<void> -
Move the pointer from previous location to a location relative
to
element
offset byxOffset
andyOffset
.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}) → Future< void> -
Release at current location. If
eventTarget
is specified, PageLoader will attempt to fire the corresponding pointer events on that target, otherwise it will fire the events on the target that is under the current location.override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited