Skip to content

Interface: SemanticStep

@termwright/driver/experimental


@termwright/driver/experimental / SemanticStep

Defined in: selectors.ts:21

One compound selector in a descendant chain.

readonly classes: readonly string[]

Defined in: selectors.ts:24


readonly optional frameworkType?: TextMatcher

Defined in: selectors.ts:31

Matches the framework’s own widget type, the only way to tell generics apart.


readonly optional label?: TextMatcher

Defined in: selectors.ts:29

Matches against the node’s computed label (labelledBy, else name).


readonly optional name?: TextMatcher

Defined in: selectors.ts:25


readonly optional role?: "generic" | "application" | "region" | "dialog" | "alert" | "status" | "list" | "listitem" | "menu" | "menuitem" | "button" | "checkbox" | "radio" | "tab" | "textbox" | "heading" | "text" | "progressbar" | "separator" | "scrollbar" | "table" | "row" | "cell"

Defined in: selectors.ts:22


readonly state: Readonly<Partial<SemanticState>>

Defined in: selectors.ts:32


readonly optional testId?: string

Defined in: selectors.ts:23


readonly optional text?: TextMatcher

Defined in: selectors.ts:27

Matches against name, value and the labels a node is labelled by.