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.

Bot Studio switch to shadow root block configuration

Configuration

FieldDescription
NameOptional display label.
TypeCSS Selector or XPath to locate the shadow host element.
XPath / Selector ValueSelector for the element hosting the shadow root.
Enter Wait TimeMaximum seconds to wait for the element.

Outputs

PortDescription
Output 1Fires 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
On this page

On this page