Replies: 1 comment 2 replies
-
@samagarw You need to start the appium server in the node machine with the plugin first as the plugin will gather all the devices and maintain the session. Remote in the hub config represent the node IPs and it will connect to those IPs to gather device information and proxy all the webdriver commands. Gif in the readMe is just an example. Which ever port number your starting the Hub you need to access the same to view the dashboard |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I checked the link : https://github.com/AppiumTestDistribution/appium-device-farm/wiki/Remote-Execution
But there it is mentioned hub config as :
{
"server": {
"port": 31337,
"plugin": {
"device-farm": {
"platform": "both", //If both android and iOS devices/simulator/emulators needs to be considered
"remote": ["https://1.1.1.1:4723"] //Add the remote host and port the appium server running in node machine.
}
}
}
}
How come node machine is started before the hub machine . We need to register nodes in hub machine right .
What does remote represents in this hub config .
Also in the node config why do we need to pass device-farm plugin :
appium server -ka 800 --use-plugins=device-farm --config ./node-config.json -pa /wd/hub
Also you have mentioned that hub is started on port 31337 but the .gif attached has port 4723 in url .
Beta Was this translation helpful? Give feedback.
All reactions