【发布时间】:2016-10-28 17:24:07
【问题描述】:
Selenium 3.0.1 更新在通过 Json 配置文件调用节点时抛出错误。请从 Json 文件中找到以下详细信息。
{
"capabilities":
[
{
"browserName": "chrome",
"maxInstances": 5,
"seleniumProtocol": "WebDriver"
}
],
"configuration":
{
"proxy": "org.openqa.grid.selenium.proxy.DefaultRemoteProxy",
"maxSession": 5,
"port": 5559,
"host": ip,
"register": true,
"registerCycle": 5000,
"hubPort": 4445,
"hubHost":ip,
"hub":"http://XX.XX.XX.XX:XXXX/grid/register",
"timeout":600000,
"browserTimeout":600000"
}
}
错误 - 配置的 Json 出错:遇到了已弃用的节点配置文件。请更新文件以使用 selenium 3
【问题讨论】:
标签: selenium selenium-webdriver selenium-chromedriver selenium-grid