find_shadow_element
Locate elements inside shadow DOM by providing host and shadow selectors, enabling reliable automation of web components.
Instructions
Find an element inside a shadow DOM. Provide the host element selector and then the selector for the element inside the shadow root.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeout | No | ||
| host_selector | Yes | CSS selector of the shadow host element | |
| shadow_selector | Yes | CSS selector inside the shadow root |