我能够启动集线器。我创建了blow node.json
{
"capabilities":[
{
"browserName":"",
"version":"4.4.2",
"maxInstances":2,
"platform":"ANDROID",
"deviceName":"5203b75de26b14cb"
}
],
"configuration":{
"nodeTimeout":120,
"port":4728,
"hubPort":4444,
"proxy":"org.openqa.grid.selenium.proxy.DefaultRemoteProxy",
"url":"http://127.0.0.1.4728/wd/hub",
"hub":"127.0.0.1:4444/grid/register",
"hubHost":"127.0.0.1",
"nodePolling":2000,
"registerCycle":10000,
"register":true,
"cleanUpCycle":2000,
"timeout":30000,
"maxSession":2
}
}
但是当我使用以下命令创建节点时
node.exe C:\Users\sjt\AppData\Local\Programs\appium-desktop\resources\app\node_modules\appium\build\lib\main.js –address 127.0.0.1 –port 4723 -bp 2252 –udid 5203b75de26b14cb --nodeconfig D:\helo\node1.json –session-override
在最新的appium版本中使用网格启动节点的命令是否正确