find_elements
Check which elements a CSS selector matches before acting on them. Retrieve each match's tag, id, class, visible text, href, name, type, and value to pass the correct index.
Instructions
Inspect the elements a CSS selector matches, before acting on them.
Use this to check that a selector hits what you think it does, and to read
the index you will pass to click or fill. Returns JSON with each match's
tag, id, class, visible text, href, name, type and current value.
Args: tab: Tab index within window 1, or a substring of its URL or title. selector: The CSS selector to inspect. limit: Most elements to describe. Default 20.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tab | Yes | ||
| limit | No | ||
| selector | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |