| Modifier and Type | Field and Description |
|---|---|
Double |
pollingInterval
If specified, then it is treated as an interval in milliseconds at which the function would be executed.
|
Double |
timeout
maximum time to wait for in milliseconds.
|
| Constructor and Description |
|---|
WaitForFunctionOptions() |
| Modifier and Type | Method and Description |
|---|---|
Page.WaitForFunctionOptions |
setPollingInterval(double pollingInterval) |
Page.WaitForFunctionOptions |
setTimeout(double timeout) |
public Double pollingInterval
expression is executed in requestAnimationFrame callback.public Double timeout
30000 (30 seconds). Pass 0 to disable timeout. The default
value can be changed by using the BrowserContext.setDefaultTimeout().public Page.WaitForFunctionOptions setPollingInterval(double pollingInterval)
public Page.WaitForFunctionOptions setTimeout(double timeout)
Copyright © 2021. All rights reserved.