browser_find_elements
Find multiple web elements in a browser session using CSS, XPath, ID, name, class, or tag selectors, with an optional result limit.
Instructions
Find multiple elements matching a selector.
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": {
"session_id": "<session_id>",
"selector": "<selector>"
},
"name": "browser_find_elements"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | The session ID | |
| selector | Yes | Element selector | |
| by | No | Selector type (css, xpath, id, name, class, tag) | css |
| limit | No | Maximum number of elements to return |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |