Skip to main content

Module selector

Module selector 

Source
Expand description

Selectors: how a caller names an element on screen.

Text form (CLI): label="정확히", label~="포함", label/정규식/, role=button, id=…, value~=…, within=…, index=N, combined with spaces. label, value and id all take =, ~= and /regex/. A string with none of these is an exact label.

Structured form (scripts, MCP, batch): {label, label_contains, label_regex, value, value_contains, value_regex, role, id, id_contains, id_regex, within, index}.

Structs§

Selector

Enums§

TextMatch

Functions§

dedupe_targets
Reduce matches that are the same tap target (same label, frames nested or equal) to one. Anything left over is a real ambiguity.