class Playwright::Page::GoForwardOptions
- Playwright::Page::GoForwardOptions
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
playwright/page.crConstructors
- .new(pull : JSON::PullParser)
- .new(timeout : Int32 | Nil = nil, wait_until : Playwright::Frame::LoadState | Nil = nil)
Instance Method Summary
-
#timeout : Int32 | Nil
Maximum operation time in milliseconds, defaults to 30 seconds, pass
0to disable timeout. -
#timeout=(timeout : Int32 | Nil)
Maximum operation time in milliseconds, defaults to 30 seconds, pass
0to disable timeout. -
#wait_until : Frame::LoadState | Nil
When to consider operation succeeded, defaults to
load. -
#wait_until=(wait_until : Frame::LoadState | Nil)
When to consider operation succeeded, defaults to
load.
Constructor Detail
Instance Method Detail
Maximum operation time in milliseconds, defaults to 30 seconds, pass 0 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.
Maximum operation time in milliseconds, defaults to 30 seconds, pass 0 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.
When to consider operation succeeded, defaults to load. Events can be either:
'domcontentloaded'- consider operation to be finished when theDOMContentLoadedevent is fired.'load'- consider operation to be finished when theloadevent is fired.'networkidle'- consider operation to be finished when there are no network connections for at least500ms.
When to consider operation succeeded, defaults to load. Events can be either:
'domcontentloaded'- consider operation to be finished when theDOMContentLoadedevent is fired.'load'- consider operation to be finished when theloadevent is fired.'networkidle'- consider operation to be finished when there are no network connections for at least500ms.