find_element
Search DOM elements in pywebview UIs by CSS selector, tag, HTML ID, ARIA role, text, or visibility for precise interaction and debugging.
Instructions
Search DOM elements by CSS selector, tag, html id, ARIA role, text, or visibility. Examples: find_element(selector="#launch-btn") find_element(text="Launch") find_element(role="button")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | ||
| role | No | ||
| text | No | ||
| html_id | No | ||
| visible | No | ||
| selector | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |