| Modifier and Type | Field and Description |
|---|---|
Double |
timeout
Maximum operation time in milliseconds, defaults to 30 seconds, pass
0 to disable timeout. |
WaitUntilState |
waitUntil
When to consider operation succeeded, defaults to
load. |
| Constructor and Description |
|---|
SetContentOptions() |
| Modifier and Type | Method and Description |
|---|---|
Frame.SetContentOptions |
setTimeout(double timeout) |
Frame.SetContentOptions |
setWaitUntil(WaitUntilState waitUntil) |
public Double timeout
0 to disable timeout. The default value can be
changed by using the BrowserContext.setDefaultNavigationTimeout(),
BrowserContext.setDefaultTimeout(), Page.setDefaultNavigationTimeout() or Page.setDefaultTimeout() methods.public WaitUntilState waitUntil
load. Events can be either:
"domcontentloaded" - consider operation to be finished when the DOMContentLoaded event is fired."load" - consider operation to be finished when the load event is fired."networkidle" - consider operation to be finished when there are no network connections for at least 500 ms.public Frame.SetContentOptions setTimeout(double timeout)
public Frame.SetContentOptions setWaitUntil(WaitUntilState waitUntil)
Copyright © 2021. All rights reserved.