public static class ElementHandle.DblclickOptions extends Object
| Modifier and Type | Field and Description |
|---|---|
MouseButton |
button
Defaults to
left. |
Double |
delay
Time to wait between
mousedown and mouseup in milliseconds. |
Boolean |
force
Whether to bypass the actionability checks.
|
List<KeyboardModifier> |
modifiers
Modifier keys to press.
|
Boolean |
noWaitAfter
Actions that initiate navigations are waiting for these navigations to happen and for pages to start loading.
|
Position |
position
A point to use relative to the top-left corner of element padding box.
|
Double |
timeout
Maximum time in milliseconds, defaults to 30 seconds, pass
0 to disable timeout. |
Boolean |
trial
When set, this method only performs the actionability
checks and skips the action.
|
| Constructor and Description |
|---|
DblclickOptions() |
| Modifier and Type | Method and Description |
|---|---|
ElementHandle.DblclickOptions |
setButton(MouseButton button) |
ElementHandle.DblclickOptions |
setDelay(double delay) |
ElementHandle.DblclickOptions |
setForce(boolean force) |
ElementHandle.DblclickOptions |
setModifiers(List<KeyboardModifier> modifiers) |
ElementHandle.DblclickOptions |
setNoWaitAfter(boolean noWaitAfter) |
ElementHandle.DblclickOptions |
setPosition(double x,
double y) |
ElementHandle.DblclickOptions |
setPosition(Position position) |
ElementHandle.DblclickOptions |
setTimeout(double timeout) |
ElementHandle.DblclickOptions |
setTrial(boolean trial) |
public MouseButton button
left.public Double delay
mousedown and mouseup in milliseconds. Defaults to 0.public Boolean force
false.public List<KeyboardModifier> modifiers
public Boolean noWaitAfter
false.public Position position
public Double timeout
0 to disable timeout. The default value can be changed by
using the BrowserContext.setDefaultTimeout() or Page.setDefaultTimeout() methods.public Boolean trial
false. Useful to wait until the element is ready for the action without
performing it.public ElementHandle.DblclickOptions setButton(MouseButton button)
public ElementHandle.DblclickOptions setDelay(double delay)
public ElementHandle.DblclickOptions setForce(boolean force)
public ElementHandle.DblclickOptions setModifiers(List<KeyboardModifier> modifiers)
public ElementHandle.DblclickOptions setNoWaitAfter(boolean noWaitAfter)
public ElementHandle.DblclickOptions setPosition(double x, double y)
public ElementHandle.DblclickOptions setPosition(Position position)
public ElementHandle.DblclickOptions setTimeout(double timeout)
public ElementHandle.DblclickOptions setTrial(boolean trial)
Copyright © 2021. All rights reserved.