Launch Appium Server using Java Program

It may be a good approach to start appium server via program instead start it manually while automating a mobile application. For this, we use Process class of Java and pass path of Node.exe and Appium.js on your system

Prerequisites:

  • Appium Executable for Windows
  • JDK

Code to Start Appium Server:

https://gist.github.com/kkashyap1707/cbeeedfafbc0ca791c980ed524288457

Advantages:

  • It will reduce manual effort to start appium server.
  • It will help to achieve complete automation.

1 thought on “Launch Appium Server using Java Program

Leave a Reply

Your email address will not be published. Required fields are marked *