FirefoxDriver.Commands.WebDriver.Timeout Class
Timeout related WebDriver endpoints see JsonWireProtocol
Item Index
Methods
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
GETID of the session to route the command to
-
ms
POSTThe 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
GETID of the session to route the command to
-
ms
POSTThe 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
GETID of the session to route the command to
-
type
POSTThe 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
POSTThe amount of time to wait, in milliseconds. This value has a lower bound of 0