cdp_find_elements
Discover interactive page elements like inputs, buttons, and links using filters, selectors, and text matching for browser automation tasks.
Instructions
Discover interactive elements on the page (inputs, buttons, links, etc.).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "cdp_find_elements"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filter | No | Filter by element type (default: all) | |
| selector | No | CSS selector to scope search | |
| include_hidden | No | Include hidden elements (default: false) | |
| text_filter | No | Only return elements containing this text (case-insensitive) | |
| exclude_text | No | Exclude elements containing this text (e.g., "Apply Now" to filter out job apply buttons) | |
| limit | No | Max elements to return (default: 50) |