Search code examples
javascripttestingselenium-webdriverwebdriverappium

Mobile e2e testing using the official Webdriver Javascript client API


The Appium documentation mentions the wd.js Webdriver Javascript bindings, and not the official bindings.

While Appium is client-agnostic and can be used with both clients, wd.js offers many mobile-specific methods (touch, shake, etc.) which seem to be missing from the official bindings. There is a mobile Json Wire protocol on the way, but it doesn't seem to have been implemented with the official bindings.

As such, wd.js is required if I want desktop and mobile e2e testing with Appium. However I think the official bindings are far superior.

There is also a mobile gesture API but I am not sure how much if it has been full implemented by most Selenium servers.

My question is: is it possible to achieve mobile testing (including tapping, etc.) with the official Webdriverjs bindings?


Solution

  • Appium can be replaced by Selendroid and ios-driver which support the official Javascript bindings.