public class WebDriverFactoryLocal extends Object implements WebDriverFactory
WebDriver
s 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 WebDriverFactory
WebDriver
according to the parameterWebDriverFactoryException
- if the instantiation of the WebDriver failsCopyright © 2015. All rights reserved.