Package com.microsoft.playwright
Class Page.GoForwardOptions
- java.lang.Object
-
- com.microsoft.playwright.Page.GoForwardOptions
-
-
Field Summary
Fields Modifier and Type Field Description Integer
timeout
Maximum operation time in milliseconds, defaults to 30 seconds, pass0
to disable timeout.Frame.LoadState
waitUntil
When to consider operation succeeded, defaults toload
.
-
Constructor Summary
Constructors Constructor Description GoForwardOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Page.GoForwardOptions
withTimeout(Integer timeout)
Page.GoForwardOptions
withWaitUntil(Frame.LoadState waitUntil)
-
-
-
Field Detail
-
timeout
public Integer timeout
Maximum operation time in milliseconds, defaults to 30 seconds, pass0
to disable timeout. The default value can be changed by using the browserContext.setDefaultNavigationTimeout(timeout), browserContext.setDefaultTimeout(timeout), page.setDefaultNavigationTimeout(timeout) or page.setDefaultTimeout(timeout) methods.
-
waitUntil
public Frame.LoadState waitUntil
When to consider operation succeeded, defaults toload
. Events can be either: -'domcontentloaded'
- consider operation to be finished when theDOMContentLoaded
event is fired. -'load'
- consider operation to be finished when theload
event is fired. -'networkidle'
- consider operation to be finished when there are no network connections for at least500
ms.
-
-
Method Detail
-
withTimeout
public Page.GoForwardOptions withTimeout(Integer timeout)
-
withWaitUntil
public Page.GoForwardOptions withWaitUntil(Frame.LoadState waitUntil)
-
-