selenium.webdriver.common.timeouts

Classes

Timeouts(implicit_wait, page_load, script) 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

Return the value for the implicit wait.

This does not return the value on the remote end

page_load

Return the value for the page load wait.

This does not return the value on the remote end

script

Return the value for the script wait.

This does not return the value on the remote end