Modifier and Type | Field and Description |
---|---|
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 |
---|
InnerTextOptions() |
Modifier and Type | Method and Description |
---|---|
Page.InnerTextOptions |
setStrict(boolean strict)
When true, the call requires selector to resolve to a single element.
|
Page.InnerTextOptions |
setTimeout(double timeout)
Maximum time in milliseconds, defaults to 30 seconds, pass
0 to disable timeout. |
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 Page.InnerTextOptions setStrict(boolean strict)
public Page.InnerTextOptions 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.