execute_web_test
Automate web test execution by running predefined test steps with Playwright, guided by test case and objective.
Instructions
Execute predefined web test steps using Playwright. Takes a test case and specific steps to execute.
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": {
"url": "<url>",
"test_case": "<test_case>",
"objective": "<objective>",
"steps": "<steps>"
},
"name": "execute_web_test"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Base URL of the web application | |
| steps | Yes | Array of test steps to execute | |
| headless | No | Run browser in headless mode (default: true) | |
| objective | Yes | Testing objective | |
| test_case | Yes | Test case being executed | |
| screenshot_dir | No | Directory to save screenshots (optional) |