| Package | Description |
|---|---|
| com.microsoft.playwright |
| Modifier and Type | Method and Description |
|---|---|
ElementHandle.HoverOptions |
ElementHandle.HoverOptions.setForce(boolean force) |
ElementHandle.HoverOptions |
ElementHandle.HoverOptions.setModifiers(List<KeyboardModifier> modifiers) |
ElementHandle.HoverOptions |
ElementHandle.HoverOptions.setPosition(double x,
double y) |
ElementHandle.HoverOptions |
ElementHandle.HoverOptions.setPosition(Position position) |
ElementHandle.HoverOptions |
ElementHandle.HoverOptions.setTimeout(double timeout) |
ElementHandle.HoverOptions |
ElementHandle.HoverOptions.setTrial(boolean trial) |
| Modifier and Type | Method and Description |
|---|---|
void |
ElementHandle.hover(ElementHandle.HoverOptions options)
This method hovers over 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.mouse() to hover over 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.