📌  相关文章
📜  如何将 selenium 网格配置为驱动程序 - 无论代码示例

📅  最后修改于: 2022-03-11 15:00:27.343000             🧑  作者: Mango

代码示例1
I configure my driver class to run remote test.
DesiredCapabilities.desiredCapabilities = new DesiredCapabilities();
desiredCapabilities.setCapability("browser","chrome");
URL gridUrl = new URL("http://ipAdress.4444/wd/hub");
driverPool.set(new RemoteWebDriver(gridUrl, desiredCapabilities));