Skip to content

accessibility: extra querying options for large trees #486

@phillco

Description

@phillco

Some applications have massive accessibility trees (like Notes.app, which exposes every note ever created).

This can make general integrations that do things like "search for AXButtons" time out and hit watchdogs. A few extra parameters to find() would allow them to avoid searching too deeply. This can save us from having to write custom logic for each app.

Allow for find() / find_one() to:

  • Only query for elements that should be visible, based on their position.
  • Set a maximum search time (in seconds) and/or a maximum number of elements to visit

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions