简体   繁体   English

Selenium 网格 C# 命令行

[英]Selenium Grid C# CommandLine

In java, we need to start the Hub and connect node to it.在java中,我们需要启动Hub并将节点连接到它。 How to we achieve it under Nunit or cmd?我们如何在 Nunit 或 cmd 下实现它? Thanks.谢谢。

java -Dwebdriver.gecko.driver="..\jar\geckodriver.exe" -Dwebdriver.chrome.driver="..\jar\chromedriver.exe" -Dwebdriver.ie.driver="..\jar\IEDriverServer.exe" -jar ..\jar\selenium-server-standalone-3.14.0.jar -role hub -port 4444 

Any link is very appreciate.任何链接都非常感谢。

Yes, I found the answers.是的,我找到了答案。 It is same in C#.在 C# 中也是如此。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM