public static class ElementHandle.UncheckOptions extends Object
| Modifier and Type | Field and Description |
|---|---|
Boolean |
force
Whether to bypass the actionability checks.
|
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 |
|---|
UncheckOptions() |
| Modifier and Type | Method and Description |
|---|---|
ElementHandle.UncheckOptions |
setForce(boolean force) |
ElementHandle.UncheckOptions |
setNoWaitAfter(boolean noWaitAfter) |
ElementHandle.UncheckOptions |
setPosition(double x,
double y) |
ElementHandle.UncheckOptions |
setPosition(Position position) |
ElementHandle.UncheckOptions |
setTimeout(double timeout) |
ElementHandle.UncheckOptions |
setTrial(boolean trial) |
public Boolean force
false.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.UncheckOptions setForce(boolean force)
public ElementHandle.UncheckOptions setNoWaitAfter(boolean noWaitAfter)
public ElementHandle.UncheckOptions setPosition(double x, double y)
public ElementHandle.UncheckOptions setPosition(Position position)
public ElementHandle.UncheckOptions setTimeout(double timeout)
public ElementHandle.UncheckOptions setTrial(boolean trial)
Copyright © 2021. All rights reserved.