docs.rodeo

MDN Web Docs mirror

Set Timeouts

{{QuickLinksWithSubpages("/en-US/docs/Web/WebDriver/Commands")}} 

The Set Timeouts command of the WebDriver API sets the timeouts associated with the current session. The session timeout durations control such behavior as timeouts on script injection, document navigation, and element retrieval.

Syntax

Method URI template
POST /session/{session id}/timeouts

URL parameters

Payload

The input is a Timeouts object:

Errors

Specifications

{{Specifications}} 

Browser compatibility

{{Compat}} 

See also

In this article

View on MDN