Device Interactions
Get launching status for WDA
Returns the current state of WebDriverAgent on the device. The state can be PENDING, LAUNCHING, RUNNING, or ERROR. When RUNNING, the response includes the device port and host port for connecting automation tools. Use this to poll after calling launchWebDriverAgent to confirm WDA is ready.
post/sessions/{sessionId}/device/checkWebDriverAgentStatus
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
object required
Response
Command executed successfully
Example response
{
"bundleId": "com.facebook.WebDriverAgent",
"devicePort": 18100,
"hostPort": 5900
}Changes
No recorded changes to this operation across all 1 revision of this API.