Back to Browse

Selenium Grid server setup for mobile device using appium

714 views
Aug 21, 2020
7:32

Steps to follows: - We are going with assumptions – all prerequisite which is require for mobile browser automation has been setup on your machines – like Java, Xcode and Appium. 1. Download latest Selenium grid jar file from below URL:- https://www.selenium.dev/downloads/ 2. Place downloaded jar file in a separate folder 3. Open terminal at your machine and make sure you changed your current path to the location where you kept your selenium server jar file. 4. Run below command to start selenium grid hub $ java -jar selenium-server-standalone-3.141.59.jar -role hub 5. Verify selenium hub server started your machine by hitting below URL in your browser. URL :- localhost:4444/grid/console 6. create json config file for device which you want to add as node and save as node1.json in same folder structure where selenium grid server jar file is there. 7. Open Terminal – change your current working directory/path – where your kept your node1.json file using below command. $ cd path of folder where jar file available 8. Register node to grid server using below command. $ appium -p 4723 --nodeconfig node1.json

Download

1 formats

Video Formats

360pmp411.2 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Selenium Grid server setup for mobile device using appium | NatokHD