public class WebDriverFactoryLocal extends Object implements WebDriverFactory
WebDrivers which drive browsers on the local machine.
To keep the implementation as simple and generic as possible, it is not able to
handle browser profiles/options (e.g. FirefoxProfile or ChromeOptions).
| Constructor and Description |
|---|
WebDriverFactoryLocal() |
| Modifier and Type | Method and Description |
|---|---|
org.openqa.selenium.WebDriver |
getWebDriver(SupportedBrowser browserType) |
public org.openqa.selenium.WebDriver getWebDriver(SupportedBrowser browserType)
getWebDriver in interface WebDriverFactoryWebDriver according to the parameterWebDriverFactoryException - if the instantiation of the WebDriver failsCopyright © 2015. All rights reserved.