[英]How can I run Grid up and running
Is it possible to run the hub and nodes in Selenium Grid through Java/Selenium code? 是否可以通过Java / Selenium代码在Selenium Grid中运行集线器和节点? In an example provided by @Boni Garcia, there is GridLauncherV3
but this is not working with Selenium-jupiter version 3.2.1. 在@Boni Garcia提供的示例中,有GridLauncherV3
但不适用于Selenium-jupiter版本3.2.1。 Can you please help? 你能帮忙吗?
// Start hub
GridLauncherV3.main(new String[] { "-role", "hub", "-port", "4444" });
// Register Chrome in hub
WebDriverManager.chromedriver().setup();
GridLauncherV3.main(new String[] { "-role", "node", "-hub",
"http://localhost:4444/grid/register", "-browser",
"browserName=chrome", "-port", "5555" });
'''
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.