riddle_click_and_screenshot
Automate web interactions by loading a URL, clicking a specified element, and capturing a screenshot for testing button clicks, game starts, or UI verification.
Instructions
Simple automation: load URL, click a selector, take screenshot. Good for testing button clicks, game starts, etc. Uses force-click by default to handle animated buttons.
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>",
"click": "<click>"
},
"name": "riddle_click_and_screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | URL to load | |
| click | Yes | CSS selector to click (e.g., 'button.start', '.play-btn') | |
| wait_ms | No | Wait time after click before screenshot (default: 1000) | |
| device | No | ||
| force | No | Force click even on animating elements (default: true) |