drive desktop apps
via the accessibility tree.
A Playwright-style library for driving native desktop apps on macOS, Windows, and Linux. Built for end-to-end tests, computer-use agents, and assistive tools.
$ cargo add xa11y or $ pip install xa11y or $ npm install @crowecawcaw/xa11y Message #general
Send
capabilities
simple interface
Read the accessibility tree, find nodes, perform actions. Synthesise mouse and keyboard events, or capture screenshots of any element or region. A small, intuitive API that stays out of your way.
cross-platform
One API for macOS (AXUIElement), Windows (UI Automation), and Linux (AT-SPI2). Write once, query anywhere.
flexible selectors
Query accessibility trees with CSS-like syntax: button[name='Submit'], textfield[name^='Search'], group > button.
permissive licensing
MIT-licensed, with permissively licensed dependencies throughout. Use it freely in commercial and open-source projects alike.