My appium config:
{
"capabilities": [
{
"deviceName": "LMQXXXXXX",
"platformName": "Android",
"browserName": "Chrome",
"platformVersion": "8.1",
"maxInstances": 1
}
],
"configuration": {
"cleanUpCycle": 2000,
"timeout": 30000,
"proxy": "org.openqa.grid.selenium.proxy.DefaultRemoteProxy",
"url": "http://127.0.0.1:4723/wb/hub",
"host": "127.0.0.1",
"port": 4723,
"maxSession": 1,
"register": true,
"registerCycle": 5000,
"hubPort": "4444",
"hubHost": "172.26.96.1"
}
}
My Selenium Grid 4 hub config:
[node]
detect-drivers = false
[relay]
url = “http://localhost:4723/wd/hub”
status-endpoint = “/status”
configs = [
"1", '{"appName": "chrome", "platformName": "android", "appium:platformVersion": "11"}',
"1", '{"appName": "safari", "platformName": "iOS", "appium:platformVersion": "12.1"}'
]
My process:
1st cmd prompt: java -jar selenium-server-4.2.1.jar hub --config path\to\hub\config
2nd cmd prompt: appium -p 4728 --nodeconfig path\to\appium\config
Then I ran my script and it got queued on Grid UI session for a bit then cleared but didn’t run my Python scripts
Am i wrong at any step ? or am i missing something ? i followed the process of the video about Appium And Selenium Grid in harmony but it didn’t work.
Any help would be my pleasure. Thank you guys