WebDriverException:转发新会话webdriver新会话时出错JSON响应正文未包含会话ID

时间:2015-02-13 11:44:53

标签: selenium-grid

我正在使用带有1个集线器和2个节点的selenium网格,当我执行脚本时出现此错误: rg.openqa.selenium.WebDriverException:转发新会话webdriver新会话时出错JSON响应正文未包含会话ID 命令持续时间或超时:509毫秒 构建信息:版本:'2.42.0',修订版:'5e824302019c86eae9c8c3ca9155e7307b410cf8',时间:'2014-05-24 09:48:41' 系统信息:主机:'WIN-PNKGI9TOHPD',ip:'192.168.1.206',os.name:'Windows Server 2012 R2',os.arch:'amd64',os.version:'6.3',java.version: '1.7.0_55' 驱动程序信息:org.openqa.selenium.remote.RemoteWebDriver。

我正在使用POM结构。 这是我的Json节点congif文件:

{   “能力”:       [         {           “browserName”:“chrome”,           “maxInstances”:2,       “node”:“b”         },         {           “browserName”:“firefox”,           “maxInstances”:2         },         {           “browserName”:“互联网浏览器”,           “maxInstances”:1

    }
  ],
"configuration":
    {
    "nodeTimeout":1200000,
    "port":5555,

    "hubPort":4444,
    "hubHost":"http://192.168.1.206",

    "nodePolling":2000,

    "registerCycle":10000,
    "register":true,
    "cleanUpCycle":2000,
    "timeout":50000,
    "maxSession":5,
    }

0 个答案:

没有答案