get_current_test_state
Retrieve the current state of a connected test, including DOM snapshot, console logs, and available context APIs for executing subsequent steps.
Instructions
Get the current state of a connected test, including DOM, snapshot, console logs, and available context APIs. The response includes 'availableContext' field which lists all APIs/variables that can be used in execute_test_step.
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": "get_current_test_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| testFile | No | Optional: specific test file path | |
| testName | No | Optional: specific test name |