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