Find Shadow Element
shadow_findLocate a single element within a shadow root by providing host and target selectors, with adjustable timeout for reliable automation.
Instructions
Find one element inside a shadow root exposed by the supported DrissionPage runtime.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeout | No | ||
| selector | Yes | Selector inside the shadow root. | |
| host_selector | Yes | Selector for the shadow host element. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||