| 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 |
|---|---|
Page.UncheckOptions |
setForce(boolean force) |
Page.UncheckOptions |
setNoWaitAfter(boolean noWaitAfter) |
Page.UncheckOptions |
setPosition(double x,
double y) |
Page.UncheckOptions |
setPosition(Position position) |
Page.UncheckOptions |
setTimeout(double timeout) |
Page.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 Page.UncheckOptions setForce(boolean force)
public Page.UncheckOptions setNoWaitAfter(boolean noWaitAfter)
public Page.UncheckOptions setPosition(double x, double y)
public Page.UncheckOptions setPosition(Position position)
public Page.UncheckOptions setTimeout(double timeout)
public Page.UncheckOptions setTrial(boolean trial)
Copyright © 2021. All rights reserved.