browser_getBounds
Get the bounding box of an element using its CSS selector to determine its position and size for calculating click coordinates or scroll distances.
Instructions
获取页面上元素的位置和大小信息。用于计算点击坐标、滑动距离等。
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": {
"selector": "<selector>"
},
"name": "browser_getBounds"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selector | Yes | CSS 选择器 |