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