query
Queries DOM elements via CSS selector. Automatically waits for Angular and element to exist. Supports children, text, and skip wait options.
Instructions
Query DOM elements by CSS selector. Automatically waits for Angular and element to exist.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | Target tab: index (0=first, -1=last) or WebSocket URL from list_targets | |
| selector | Yes | CSS selector to query | |
| include_children | No | Include children preview (first 10, with tagName, id, className) | |
| include_text | No | Include textContent (truncated to 200 chars) | |
| skip_wait | No | Skip Angular/element wait (use when element definitely exists) |