create_webdriver_session
Starts a new Roku WebDriver session for automated testing. Call this first to connect to your Roku device via IP before running other commands.
Instructions
Create a new Roku WebDriver session. This must be called before any other commands. Requires the Roku WebDriver server to be running.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"roku_ip": "<roku_ip>"
},
"name": "create_webdriver_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | No | Optional: App ID or path to sideload. Use "dev" for sideloaded channel. | dev |
| roku_ip | Yes | IP address of the Roku device | |
| webdriver_url | No | URL of the Roku WebDriver server (e.g., http://localhost:9000) | http://localhost:9000 |