硒节点与网格断开连接

时间:2018-10-26 07:42:40

标签: selenium selenium-grid

我正面临Node计算机与Hub断开连接的挑战。因此,我在詹金斯(Jenkins)的每日批处理计划失败了。集线器和节点连接了一天或两天,但后来它们断开了连接。

有人可以帮我断开连接的原因吗?

以下是我的节点配置(node.json):

{
  "capabilities":
  [
    {
      "browserName": "firefox",
      "maxInstances": 5,
      "seleniumProtocol": "WebDriver"
    },
    {
      "browserName": "chrome",
      "maxInstances": 5,
      "seleniumProtocol": "WebDriver"
    },
    {
      "browserName": "internet explorer",
      "maxInstances": 1,
      "seleniumProtocol": "WebDriver"
    }
  ],
  "proxy": "org.openqa.grid.selenium.proxy.DefaultRemoteProxy",
  "maxSession": 5,
  "port": 17946,
  "register": true,
  "registerCycle": 5000,
  "hub": "http://jenkins.abc.edu:4444",
  "nodePolling": 5000,
  "role": "node",
  "downPollingLimit": 2,
  "debug": false,
  "servlets" : [],
  "withoutServlets": [],
  "custom": {}
}

0 个答案:

没有答案
相关问题