Help Centre › Building Processes
Find an element inside a shadow DOM and optionally read an attribute.
Add it to a process
In the process designer, open the Add step tab. Find Find element in shadow DOM under Browser › Advanced, or type its name in the search box, and drag it onto the canvas.
Fields
| Field | Required | What it does |
|---|---|---|
| By | No | The method used to locate the element (e.g. CSS selector, XPath, ID, text) Default: XPath. |
| Shadow host element | Yes | Selector for the shadow host element |
| CSS selector | Yes | CSS selector inside the shadow root (shadow DOM does not support XPath) |
| Attribute | Yes | Element attribute name |
| Variable | Yes | Variable name to store the result Default: shadow_element. |
| Attribute | No | Attribute to read (e.g. textContent, value, innerHTML). If omitted, stores the element reference. |
See all Browser steps.