API Docs for: 0.0.6
Show:

FirefoxDriver.Commands.WebDriver.Timeout Class

Timeout related WebDriver endpoints see JsonWireProtocol

Item Index

Methods

asyncScript

(
  • sessionId
  • ms
)

Set the amount of time, in milliseconds, that asynchronous scripts executed by /session/:sessionId/execute_async are permitted to run before they are aborted and a |Timeout| error is returned to the client.

Parameters:

  • sessionId GET

    ID of the session to route the command to

  • ms POST

    The amount of time to wait, in milliseconds. This value has a lower bound of 0

implicitWait

(
  • sessionId
  • ms
)

Set the amount of time the driver should wait when searching for elements. When searching for a single element, the driver should poll the page until an element is found or the timeout expires, whichever occurs first. When searching for multiple elements, the driver should poll the page until at least one element is found or the timeout expires, at which point it should return an empty list.

Parameters:

  • sessionId GET

    ID of the session to route the command to

  • ms POST

    The amount of time to wait, in milliseconds. This value has a lower bound of 0

timeouts

(
  • sessionId
  • type
  • ms
)

Configure the amount of time that a particular type of operation can execute for before they are aborted and a |Timeout| error is returned to the client.

Parameters:

  • sessionId GET

    ID of the session to route the command to

  • type POST

    The type of operation to set the timeout for. Valid values are: "script" for script timeouts, "implicit" for modifying the implicit wait timeout and "page load" for setting a page load timeout

  • ms POST

    The amount of time to wait, in milliseconds. This value has a lower bound of 0