无法使用appium网格在最新的appium中启动appium节点

时间:2017-12-18 11:02:36

标签: selenium selenium-webdriver appium

我能够启动集线器。我创建了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

enter image description here

在最新的appium版本中使用网格启动节点的命令是否正确

0 个答案:

没有答案