Device Interactions
Change device configuration
Changes device settings such as orientation, locale, or animations during an active session. The request body must contain at least one of the properties below. Note: Some settings are OS-specific. Please review the parameter descriptions for details.
post/sessions/{sessionId}/device/applySettings
Request
- Base URLhttps://api.us-west-1.saucelabs.com/rdc/v2
- AuthHTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
sessionIdstring required
The id of the device session
Request body
Example request
{
"orientation": "PORTRAIT",
"locale": "en_US"
}Response
Command executed successfully
Changes
No recorded changes to this operation across all 1 revision of this API.