find_shadow_element
Locate elements inside a shadow DOM by providing a host CSS selector and an inner shadow selector, enabling automated browser tests to interact with shadow-root content.
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 |