electron_generate_test
Generates executable WebdriverIO or Playwright test code from recorded Electron app actions, turning captured UI interactions into runnable tests.
Instructions
Generate executable test code from recorded actions for WebdriverIO or Playwright
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": {
"format": "<format>",
"testName": "<testName>"
},
"name": "electron_generate_test"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | Yes | Test framework and language format | |
| appPath | No | ||
| filename | No | ||
| testName | Yes | test_electron_app |