⚠️ (As on Apr 2023) Please consider Mobile support as experimental. But we are very close and there are some teams that use Karate for simple use-cases. Please contribute code if you can.
Description:
iOS and Android UI automation capability in karate using appium server.
basic driver support for iOS and android automation extending karate's web driver implementation to interact with appium server.
proposing driver types:
for Android: { type: 'android' }
for iOS: { type: 'iOS' }
locator support: XPath, name, accessibility id and id by the prefix.
adding platform-specific locator strategies like class chain, predicate string for iOS and uiautomator for android can be added shortly once we come up with a prefix, and also if there are any others supported by appium.
dependencies needed for this integration to work:
- appium (install using
npm)
npm install -g appium
- xcode >7 for iOS automation
- android studio (android SDK with an AVD is also sufficient)
sample work on Android:

Description:
iOS and Android UI automation capability in karate using appium server.
basic
driversupport foriOSandandroidautomation extending karate's web driver implementation to interact with appium server.proposing
drivertypes:for Android:
{ type: 'android' }for iOS:
{ type: 'iOS' }locator support:
XPath,name,accessibility idandidby the prefix.adding platform-specific locator strategies like
class chain,predicate stringfor iOS anduiautomatorfor android can be added shortly once we come up with a prefix, and also if there are any others supported by appium.dependencies needed for this integration to work:
npm)npm install -g appiumsample work on Android:
