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.
|
Boolean |
strict
When true, the call requires selector to resolve to a single element.
|
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 |
---|---|
Frame.CheckOptions |
setForce(boolean force)
Whether to bypass the actionability checks.
|
Frame.CheckOptions |
setNoWaitAfter(boolean noWaitAfter)
Actions that initiate navigations are waiting for these navigations to happen and for pages to start loading.
|
Frame.CheckOptions |
setPosition(double x,
double y)
A point to use relative to the top-left corner of element padding box.
|
Frame.CheckOptions |
setPosition(Position position)
A point to use relative to the top-left corner of element padding box.
|
Frame.CheckOptions |
setStrict(boolean strict)
When true, the call requires selector to resolve to a single element.
|
Frame.CheckOptions |
setTimeout(double timeout)
Maximum time in milliseconds, defaults to 30 seconds, pass
0 to disable timeout. |
Frame.CheckOptions |
setTrial(boolean trial)
When set, this method only performs the actionability
checks and skips the action.
|
public Boolean force
false
.public Boolean noWaitAfter
false
.public Position position
public Boolean strict
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 Frame.CheckOptions setForce(boolean force)
false
.public Frame.CheckOptions setNoWaitAfter(boolean noWaitAfter)
false
.public Frame.CheckOptions setPosition(double x, double y)
public Frame.CheckOptions setPosition(Position position)
public Frame.CheckOptions setStrict(boolean strict)
public Frame.CheckOptions setTimeout(double timeout)
0
to disable timeout. The default value can be changed by
using the BrowserContext.setDefaultTimeout()
or Page.setDefaultTimeout()
methods.public Frame.CheckOptions setTrial(boolean trial)
false
. Useful to wait until the element is ready for the action without
performing it.Copyright © 2022. All rights reserved.