find_selector
Find the CSS selector for an element containing specific text. Optionally match exact text or restrict to a given element type.
Instructions
Find CSS selector for element containing specific text
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text content to search for in elements | |
| exact | No | Whether to match exact text (true) or partial text (false) | |
| elementType | No | HTML element type to search within (e.g., "button", "a", "div"). Default is "*" for any element | * |