class Playwright::Page::WaitForFunctionOptions
- Playwright::Page::WaitForFunctionOptions
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
playwright/page.crConstructors
Instance Method Summary
- #polling : Int32 | Nil
- #polling=(polling : Int32 | Nil)
-
#timeout : Int32 | Nil
maximum time to wait for in milliseconds.
-
#timeout=(timeout : Int32 | Nil)
maximum time to wait for in milliseconds.
- #with_polling_interval(millis : Int32)
- #with_request_animation_frame
Constructor Detail
Instance Method Detail
def timeout : Int32 | Nil
#
maximum time to wait for in milliseconds. Defaults to 30000
(30 seconds). Pass 0
to disable timeout. The default value can be changed by using the browserContext.setDefaultTimeout(timeout)
.
def timeout=(timeout : Int32 | Nil)
#
maximum time to wait for in milliseconds. Defaults to 30000
(30 seconds). Pass 0
to disable timeout. The default value can be changed by using the browserContext.setDefaultTimeout(timeout)
.