Multi-devices support in Android

前端 未结 5 815
既然无缘
既然无缘 2020-12-15 14:28

I am trying to run a script on Multiple devices in Andriod platform, but I am unable to run. I went through Github page for a solution and found the following link about Sup

5条回答
  •  感情败类
    2020-12-15 14:42

    For multiple android devices start your appium server with parameters:

    • node appium.js -p 4476 -U
    • node appium.js -p 4475 -U

    You can select any port, but make sure they are different in your code, where you are creating driver, provide server url:

    server1_url = "http://127.0.0.1:4475/wd/hub"
    server2_url = "http://127.0.0.1:4476/wd/hub"
    

    Done.

提交回复
热议问题