Overview
The Mac2 driver is an Appium driver intended for black-box automated testing of macOS applications. It is the successor to the deprecated Appium Mac driver.
Target Platforms¶
The driver supports the following Apple platforms as automation targets:
| Platform | Supported |
|---|---|
| macOS |
Contexts¶
The following application contexts are supported for automation:
- Native applications
- Webviews based on Chrome
- Hybrid applications
Technologies Used¶
The Mac2 driver uses the W3C WebDriver protocol for session management. Under the hood, the driver combines several different technologies to achieve its functionality:
- Native testing
- Based on Apple's XCTest framework
- Provided by the bundled WebDriverAgentMac component (a fork of the original implementation by Facebook)
- Webview testing
- Based on the ChromeDriver server
- Provided by the
appium-chromedriverlibrary
- Additional tools
- Communication with Xcode is handled by the
appium-xcodelibrary
- Communication with Xcode is handled by the