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.
|
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. |
Constructor and Description |
---|
SelectOptionOptions() |
Modifier and Type | Method and Description |
---|---|
Frame.SelectOptionOptions |
setForce(boolean force)
Whether to bypass the actionability checks.
|
Frame.SelectOptionOptions |
setNoWaitAfter(boolean noWaitAfter)
Actions that initiate navigations are waiting for these navigations to happen and for pages to start loading.
|
Frame.SelectOptionOptions |
setStrict(boolean strict)
When true, the call requires selector to resolve to a single element.
|
Frame.SelectOptionOptions |
setTimeout(double timeout)
Maximum time in milliseconds, defaults to 30 seconds, pass
0 to disable timeout. |
public Boolean force
false
.public Boolean noWaitAfter
false
.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 Frame.SelectOptionOptions setForce(boolean force)
false
.public Frame.SelectOptionOptions setNoWaitAfter(boolean noWaitAfter)
false
.public Frame.SelectOptionOptions setStrict(boolean strict)
public Frame.SelectOptionOptions setTimeout(double timeout)
0
to disable timeout. The default value can be changed by
using the BrowserContext.setDefaultTimeout()
or Page.setDefaultTimeout()
methods.Copyright © 2022. All rights reserved.