Package io.fluentlenium.configuration
Interface WebDriverFactory
- All Superinterfaces:
Factory
- All Known Implementing Classes:
DefaultWebDriverFactories.ChromeWebDriverFactory
,DefaultWebDriverFactories.EdgeWebDriverFactory
,DefaultWebDriverFactories.FirefoxWebDriverFactory
,DefaultWebDriverFactories.HtmlUnitWebDriverFactory
,DefaultWebDriverFactories.InternetExplorerWebDriverFactory
,DefaultWebDriverFactories.OperaWebDriverFactory
,DefaultWebDriverFactories.RemoteWebDriverFactory
,DefaultWebDriverFactories.SafariWebDriverFactory
,ReflectiveWebDriverFactory
Factory of
WebDriver
, that can be registered in WebDrivers
registry.
-
Method Summary
Modifier and TypeMethodDescriptionorg.openqa.selenium.WebDriver
newWebDriver
(org.openqa.selenium.Capabilities desiredCapabilities, ConfigurationProperties configuration) Creates a new instance ofWebDriver
.
-
Method Details
-
newWebDriver
org.openqa.selenium.WebDriver newWebDriver(org.openqa.selenium.Capabilities desiredCapabilities, ConfigurationProperties configuration) Creates a new instance ofWebDriver
.- Parameters:
desiredCapabilities
- Desired capabilities for the web driverconfiguration
- Configuration- Returns:
- new instance of web driver
-