You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Need info on remote execution with hub and node machines #610
{
"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 .
@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
Activity
saikrishna321 commentedon Jan 20, 2023
@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