selenium.webdriver.common.timeouts¶
Classes
|
Create a new Timeout object. |
- class selenium.webdriver.common.timeouts.Timeouts(implicit_wait: float = 0, page_load: float = 0, script: float = 0)[source]¶
Create a new Timeout object.
- Args:
- implicit_wait - Either an int or a float. The number passed in needs to how many
seconds the driver will wait.
- page_load - Either an int or a float. The number passed in needs to how many
seconds the driver will wait.
- script - Either an int or a float. The number passed in needs to how many
seconds the driver will wait.
- implicit_wait¶
Sets and Gets the value of the implicit_timeout:
This does not set the value on the remote end.
Usage¶
- Get
self.implicit_timeout
- Set
self.implicit_timeout = value
Parameters¶
value: float