| Package | Description |
|---|---|
| com.microsoft.playwright |
| Modifier and Type | Method and Description |
|---|---|
ElementHandle.TapOptions |
ElementHandle.TapOptions.setForce(boolean force) |
ElementHandle.TapOptions |
ElementHandle.TapOptions.setModifiers(List<KeyboardModifier> modifiers) |
ElementHandle.TapOptions |
ElementHandle.TapOptions.setNoWaitAfter(boolean noWaitAfter) |
ElementHandle.TapOptions |
ElementHandle.TapOptions.setPosition(double x,
double y) |
ElementHandle.TapOptions |
ElementHandle.TapOptions.setPosition(Position position) |
ElementHandle.TapOptions |
ElementHandle.TapOptions.setTimeout(double timeout) |
ElementHandle.TapOptions |
ElementHandle.TapOptions.setTrial(boolean trial) |
| Modifier and Type | Method and Description |
|---|---|
void |
ElementHandle.tap(ElementHandle.TapOptions options)
This method taps the element by performing the following steps:
Wait for actionability checks on the element, unless
force option is set.
Scroll the element into view if needed.
Use Page.touchscreen() to tap the center of the element, or the specified position.
Wait for initiated navigations to either succeed or fail, unless noWaitAfter option is set.
|
Copyright © 2021. All rights reserved.