Interface: SemanticStep
@termwright/driver/experimental
@termwright/driver/experimental / SemanticStep
Interface: SemanticStep
Section titled “Interface: SemanticStep”Defined in: selectors.ts:21
One compound selector in a descendant chain.
Properties
Section titled “Properties”classes
Section titled “classes”
readonlyclasses: readonlystring[]
Defined in: selectors.ts:24
frameworkType?
Section titled “frameworkType?”
readonlyoptionalframeworkType?:TextMatcher
Defined in: selectors.ts:31
Matches the framework’s own widget type, the only way to tell generics apart.
label?
Section titled “label?”
readonlyoptionallabel?:TextMatcher
Defined in: selectors.ts:29
Matches against the node’s computed label (labelledBy, else name).
readonlyoptionalname?:TextMatcher
Defined in: selectors.ts:25
readonlyoptionalrole?:"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
readonlystate:Readonly<Partial<SemanticState>>
Defined in: selectors.ts:32
testId?
Section titled “testId?”
readonlyoptionaltestId?:string
Defined in: selectors.ts:23
readonlyoptionaltext?:TextMatcher
Defined in: selectors.ts:27
Matches against name, value and the labels a node is labelled by.