Search code examples
automated-testsappiumnightwatch.js

How to test mobile web apps using nightwatch?


I already have some e2e test in nightwatch. I want to run the same scripts for my mobile web app(not native app). Is there any way to utilize the existing scripts to run on the mobile web app using nightwatch ?.


Solution

  • I am afraid you can not do that as NightwatchJS does not support anything apart from Web based UI automation. However, you can definitely try WebdriverIO which supports mobile automation for both Android and iOS. You can find the sample projects here.

    Cheers!