Skip to main content

scope_arg

Function scope_arg 

Source
fn scope_arg(
    scope: Option<&Value>,
) -> Result<(Option<String>, Option<UiBrowserElementMatch>)>
Expand description

Snapshot’s scope: a reference (e12, e4.e1, n2e1), or the element to narrow to by role and name, for a page not read yet. The name form is a string written like a snapshot line, dialog "Edit item" or "Edit item" (an unquoted string that isn’t a reference is a name too), or an object {role, name, exact}.