docs.rs failed to build axterminator-0.1.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
AXTerminator
World's Most Superior macOS GUI Testing Framework
๐ WORLD FIRST: Test macOS apps without stealing focus - true background testing.
Why AXTerminator?
| Capability | AXTerminator | XCUITest | Appium | Others |
|---|---|---|---|---|
| Background Testing | โ WORLD FIRST | โ | โ | โ |
| Element Access | 242ยตs | ~500ms | ~2s | 10-1000x slower |
| Full Test Scenario | 103ms | ~3s | 6.6s | 30-64x slower |
| Cross-App Testing | โ Native | โ | Limited | โ |
| Self-Healing | 7-strategy | โ | Basic | 1-2 strategy |
Quick Start
# Check accessibility permissions
# Connect to an app
=
# Click a button - IN BACKGROUND! (no focus stealing)
# Type text (requires focus mode)
# Take a screenshot
=
Key Features
๐ญ Background Testing (WORLD FIRST)
Test apps without stealing focus from your active work:
# User can continue working while tests run!
# All background
โก 60-100x Faster
- Element access: 242ยตs (vs 500ms-2s competitors)
- Full login test: 103ms (vs 6.6s Appium)
๐ง Self-Healing Locators
7-strategy fallback for robust element location:
๐ Unified API
Works with any macOS app technology:
- Native macOS (SwiftUI/AppKit)
- Electron apps (VS Code, Slack, etc.)
- WebView hybrid apps
- Catalyst apps
API Reference
App Connection
# By bundle ID (recommended)
=
# By name
=
# By PID
=
Element Finding
# By text
=
# By role and attributes
=
# With timeout
=
Actions
# Background mode (DEFAULT - no focus stealing!)
# Focus mode (required for text input)
Cross-App Testing
# Test multiple apps without focus switching
=
=
# Copy from Safari (background)
# Paste to Notes (background)
Requirements
- macOS 11.0 or later
- Python 3.9 or later
- Accessibility permissions enabled
Building from Source
# Install maturin
# Build and install
# Run tests
License
MIT OR Apache-2.0
Contributing
Contributions welcome! Please read the design document in docs/ first.