📅  最后修改于: 2022-03-11 14:57:05.294000             🧑  作者: Mango
I configure my driver class to run remote test
on selenium grid
DesiredCapabilities.desiredCapabilities = new DesiredCapabilities();
desiredCapabilities.setCapability("browser","chrome");
URL gridUrl = new URL("http://ipAdress.4444/wd/hub");
driverPool.set(new RemoteWebDriver(gridUrl, desiredCapabilities));