generate_python_test
Convert recorded browser actions into a runnable pytest + Selenium test script. Captures navigation, clicks, typing, and more to produce executable test code.
Instructions
Generate a pytest + Selenium test script from the current browser session. Captures all recorded actions (navigate, click, type, hover, drag, select, etc.) into a runnable test.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "generate_python_test"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| test_name | No | Name of the test function | test_recorded_flow |
| class_name | No | Name of the test class | TestRecordedFlow |