⏱️Driver.should()
A collection of expected conditions against the current browser.
Expectations
Syntax
# Use the default wait_time
py.should().<expectation>
---or---
# Customize the wait_time for this expectation
py.should(timeout: int).<expectation>
---or---
# Ignore exceptions that you expect to "get in the way"
py.should(ignored_exceptions: list).<expectation>
---or---
# Customize both fully
py.should(timeout: int, ignored_exceptions: list).<expectation>Examples
Yields
Last updated