selenium.webdriver.common.timeouts#
Classes
|
Create a new Timeouts object. |
- class Timeouts(implicit_wait=0, page_load=0, script=0)[source]#
Bases:
objectCreate a new Timeouts object.
This implements https://w3c.github.io/webdriver/#timeouts.
- Parameters:
implicit_wait (float) – Number of seconds to wait when searching for elements before throwing an error.
page_load (float) – Number of seconds to wait for a page load to complete before throwing an error.
script (float) – 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.