browser_get_elements
Retrieve detailed information about page elements using CSS selectors to understand structure and interactivity.
Instructions
Get detailed information about elements matching a CSS selector, useful for understanding page structure and interactive elements
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_get_elements"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selector | Yes | CSS selector to find elements | |
| maxResults | No | Maximum number of elements to return | |
| includeAttributes | No | Include element attributes in the response |