spa_iframe_click
Click an element inside an iframe using CSS selectors. Optionally navigate to a URL first and capture a screenshot.
Instructions
Click an element inside an iframe.
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": {
"frame": "<frame>",
"selector": "<selector>"
},
"name": "spa_iframe_click"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | URL to navigate to first (optional) | |
| frame | Yes | CSS selector for the iframe | |
| session | No | Session ID | default |
| selector | Yes | CSS selector for element inside iframe | |
| screenshot | No | Take screenshot after action |