electron_launch
Launch an Electron desktop application for automated testing, then connect through WebdriverIO’s Electron service to begin UI inspection and automation.
Instructions
Launch an Electron application for testing. Connects via WebdriverIO with the Electron service.
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": {
"binaryPath": "<binaryPath>",
"windowWidth": "<windowWidth>",
"windowHeight": "<windowHeight>",
"waitTimeout": "<waitTimeout>"
},
"name": "electron_launch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | ||
| env | No | ||
| args | No | ||
| binaryPath | Yes | Path to the Electron application binary (.app on macOS, .exe on Windows) | |
| waitTimeout | Yes | ||
| windowWidth | Yes | ||
| windowHeight | Yes |