browser_click_at_rel
Click at a relative position inside a frame using normalized coordinates (0-1). Enables precise mouse clicks within iframes for browser automation.
Instructions
Click at relative position (rx, ry) in [0..1] inside the frame. E.g. (0.5, 0.9) = center-bottom. Uses Playwright page.mouse.click for reliable coordinates.
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": {
"frameSelector": "<frameSelector>",
"rx": "<rx>",
"ry": "<ry>"
},
"name": "browser_click_at_rel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rx | Yes | Relative X in 0..1 (0=left, 1=right) | |
| ry | Yes | Relative Y in 0..1 (0=top, 1=bottom) | |
| button | No | left | right | left |
| frameSelector | Yes | Chained iframe selector |