Blocks & Flow EditorBrowser
switch to shadow root
The **switch to shadow root** block switches context into a shadow DOM root.
The switch to shadow root block switches context into a shadow DOM root.
Configuration
| Field | Description |
|---|---|
| Name | Optional display label. |
| Type | CSS Selector or XPath to locate the shadow host element. |
| XPath / Selector Value | Selector for the element hosting the shadow root. |
| Enter Wait Time | Maximum seconds to wait for the element. |
Outputs
| Port | Description |
|---|---|
| Output 1 | Fires after entering shadow root |
Notes
- Browser operation blocks require launch browser to be used earlier in the flow.
- Pair with exit shadow root when done