get_element_state_at_failure
Retrieve the failing element's DOM attributes from a Playwright trace at the moment of failure, enabling precise root-cause analysis of CI test failures.
Instructions
Returns DOM attributes of the failing element at the moment of failure
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": {
"trace_path": "<trace_path>"
},
"name": "get_element_state_at_failure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| trace_path | Yes | Absolute path to trace.zip, or a URL (https://) to download it from |