Skip to content

Build Selector Node

Automation/Selector

Creates a selector from a value and kind

selector_buildautomation
Inputs5
Outputs2
Security exposureUnrated
Packageautomation

Ratings

Scores range from 0 to 10. Higher values mean more impact, exposure, or operational weight.

No score metadata has been set for this node yet.

Input Pins

5

▶

Execution
exec_in

Trigger

Kind

String
kind

Type of selector

Default Css
CssXpathTextTextExactRoleTestId+4 more

Value

String
value

Selector value (CSS selector, XPath, text, etc.)

Confidence

Float
confidence

Confidence level (0.0-1.0)

Default 1

Scope

String
scope

Optional scope selector to narrow search

Output Pins

2

▶

Execution
exec_out

Continue

Selector

Struct
selector

The built selector

SelectorSelector4 fields
kindSelectorKindrequired
variant 1enumvariant
enum "Css", "Xpath", "TextExact", "TestId"...
variant 2constvariant

Visible text contained in the element; script, style and head content is ignored.

const "Text"
variant 3constvariant

ARIA role, optionally filtered by accessible name: `button`, `button|Sign in` (case-insensitive substring), `button|=Sign in` (exact) or `button|/^sign/i` (regex).

const "Role"
variant 4constvariant

Element ref from the latest Browser Snapshot, such as `e12`.

const "Ref"
valuestringrequired
confidencenumber | null
format double
scopestring | null

Node Info

Internal name
selector_build
Category
Automation/Selector