use of ru.sbtqa.tag.pagefactory.support.capabilities.SelenoidCapabilitiesParser in project page-factory-2 by sbtqa.
the class TagWebDriver method createRemoteWebDriver.
private static WebDriver createRemoteWebDriver(String webDriverUrl, DesiredCapabilities capabilities) throws MalformedURLException {
URL remoteUrl = new URL(webDriverUrl);
capabilities.merge(new SelenoidCapabilitiesParser().parse());
return new RemoteWebDriver(remoteUrl, capabilities);
}
Aggregations