[英]Add latest Microsoft Edge (Win10) browser to Selenium Grid
Tried by adding the below code.通过添加以下代码进行尝试。
"capabilities": [
{
"browserName": "MicrosoftEdge",
"platform": "WIN10",
"maxInstances": 1
},
]
and passed it to command line并将其传递给命令行
start java -Dwebdriver.edge.driver="../../Resources/Drivers/msedgedriver.exe" -jar "%SELSERV%" -role node -nodeConfig ..\ConfigFiles\NodeConfig.json
I am getting the microsoft edge legacy我得到了 microsoft edge legacy
I need the latest microsoft edge (Based on chromium) in selenium grid.我需要 selenium 网格中的最新微软边缘(基于铬)。
Latest Edge browser being chromium based, try using the below node configurations:最新的 Edge 浏览器基于 chromium,尝试使用以下节点配置:
"capabilities": [
{
"browserName": "Chrome",
"platform": "WIN10",
"maxInstances": 1
},
]
And then execute the below command:然后执行以下命令:
java -Dwebdriver.chrome.driver="../../Resources/Drivers/msedgedriver.exe" -jar "%SELSERV%" -role node -nodeConfig ..\ConfigFiles\NodeConfig.json
Notice the webdriver.chrome.driver
property being set to msedgedriver.exe file.请注意
webdriver.chrome.driver
属性设置为 msedgedriver.exe 文件。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.