How to Update axe DevTools Mobile for Appium
Stay up to date with the latest version for comprehensive accessibility testing for applications.
It's important to regularly update axe DevTools Mobile for Appium, to ensure you have the latest rules and features. It does not automatically update, so be sure to periodically check for a new version. Releases are communicated via email and the release notes page.
If you are just getting started with axe DevTools Mobile for Appium, head over to the setup guide.
Check the Version You're Using
If you're using the axe XCUI or UIAutomator2 drivers locally, open a terminal window and enter appium driver list
. This command lists the available drivers, along with the version number.
Example: - axexcuitest@1.0.0 [installed (npm)]
indicates I've installed the 1.0.0 version.
If using the drivers in a continuous integration / deployment setting, you may opt to check the scripts and change the version to install.
If you are using the drivers with one of our Cloud Provider partners, please contact them to see about the current version installed and plans to update.
Update to the Latest Version
When using the axe XCUI or axe UIAutomator2 drivers locally, or if your CI/CD instance does not start fresh each time, you'll want to uninstall the current version, and install again to grab the latest version.
axe XCUITest Driver for iOS Testing
Uninstall
appium driver uninstall axexcuitest
Install
appium driver install --source=npm @axe-devtools/axe-appium-xcuitest-driver
axe UIAutomator2 Driver for Android Testing
Uninstall
appium driver uninstall axeuiautomator2
Install
appium driver install --source=npm @axe-devtools/axe-appium-uiautomator2-driver