public final class RemoteWebDriverFactory extends Object implements WebDriverFactory
WebDriverFactory that creates WebDriver instances remotely.| Constructor and Description |
|---|
RemoteWebDriverFactory(String gridHubUrl) |
| Modifier and Type | Method and Description |
|---|---|
org.openqa.selenium.WebDriver |
createWebDriver(org.openqa.selenium.Capabilities capabilities)
Get a
WebDriver instance based on the provided Capabilities. |
public RemoteWebDriverFactory(String gridHubUrl)
gridHubUrl - URL of the Selenium grid hubIllegalArgumentException - When the given URL is invalid or no
URL was provided at all@Nonnull public org.openqa.selenium.WebDriver createWebDriver(org.openqa.selenium.Capabilities capabilities)
WebDriver instance based on the provided Capabilities.createWebDriver in interface WebDriverFactorycapabilities - The desired capabilitiesWebDriver instanceCopyright © 2019. All rights reserved.