selenium.webdriver.common.timeouts¶
Classes
|
Create a new Timeouts object. |
- class selenium.webdriver.common.timeouts.Timeouts(implicit_wait: float = 0, page_load: float = 0, script: float = 0)[source]¶
Create a new Timeouts object.
This implements https://w3c.github.io/webdriver/#timeouts.
- Args:
- implicit_wait: Number of seconds to wait when searching for elements
before throwing an error.
- page_load: Number of seconds to wait for a page load to complete
before throwing an error.
- script: Number of seconds to wait for an asynchronous script to
finish execution before throwing an error.
- implicit_wait¶
Number of seconds to wait when searching for elements.
Note: This does not set the value on the remote end.
- page_load¶
Number of seconds to wait for the page to load.
Note: This does not set the value on the remote end.
- script¶
Number of seconds to wait for an asynchronous script to finish execution.
Note: This does not set the value on the remote end.