build-loop:native-ax-driver

Automate macOS UI testing via Accessibility API using Python.

1|Updated Apr 6, 2026
One-click install
npx skills add https://github.com/tyroneross/build-loop --skill build-loop-native-ax-driver
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: build-loop:native-ax-driver
Source: https://github.com/tyroneross/build-loop/tree/main/skills/native-ax-driver
Command: npx skills add https://github.com/tyroneross/build-loop --skill build-loop-native-ax-driver

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires python3, osascript, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill addresses the need for automating UI testing and verification for macOS applications, without hardware cursor interaction, using the Accessibility API.

Core Features & Use Cases

  • Automated UI Verification: Drives macOS applications through Accessibility API for testing UI fixes.
  • Headless UI Testing: Perform UI testing with no requirement for the application to have the user interface visible.
  • Use Case: When a macOS app needs automated testing of UI components, like buttons, sliders, and text fields, without involving direct mouse events.

Quick Start

To test the UI of 'App.app' using build-loop:native-ax-driver, use the following command: build-loop execute --ui-target=build-loop:native-ax-driver --app=App.app.

Frequently Asked Questions about build-loop:native-ax-driver

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate macOS UI testing without moving the mouse cursor?

Automate macOS UI testing without hardware cursor interaction by using the Accessibility API to drive native applications, targeting button presses, value setting, and menu actions for verification.

Can I perform headless UI testing on a macOS app if the interface is not visible?

Headless UI testing is possible on macOS apps because the Accessibility API interacts with native UI components directly, requiring no graphical rendering or visible user interface to execute actions.

What do I need to run automated accessibility checks on native macOS applications?

To run automated accessibility checks on macOS apps, you need a Python environment and the native macOS apps must have accessible UI components enabled for the Accessibility API to interact with them.

Does Python UI testing via the Accessibility API work for automated regression testing?

Python UI testing via the Accessibility API works for automated regression testing by programmatically driving macOS application components like sliders and text fields to verify UI fixes.

When should I not use the Accessibility API for macOS app testing?

You should not use the Accessibility API for macOS app testing if your target application lacks accessible UI components or if your testing scenario strictly requires simulating physical mouse events.

What is the best way to automate button presses in a native macOS app via Python?

The best way to automate button presses in a native macOS app via Python is using the Accessibility API, which targets native application elements directly without GUI rendering or hardware cursor involvement.