Package org.fluentlenium.configuration
Interface WebDriverFactory
-
- All Superinterfaces:
Factory
- All Known Implementing Classes:
DefaultWebDriverFactories.ChromeWebDriverFactory
,DefaultWebDriverFactories.EdgeWebDriverFactory
,DefaultWebDriverFactories.FirefoxWebDriverFactory
,DefaultWebDriverFactories.HtmlUnitWebDriverFactory
,DefaultWebDriverFactories.InternetExplorerWebDriverFactory
,DefaultWebDriverFactories.OperaWebDriverFactory
,DefaultWebDriverFactories.PhantomJSWebDriverFactory
,DefaultWebDriverFactories.RemoteWebDriverFactory
,DefaultWebDriverFactories.SafariWebDriverFactory
,ReflectiveWebDriverFactory
@IndexSubclasses public interface WebDriverFactory extends Factory
Factory ofWebDriver
, that can be registered inWebDrivers
registry.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.openqa.selenium.WebDriver
newWebDriver(org.openqa.selenium.Capabilities desiredCapabilities, ConfigurationProperties configuration)
Creates a new instance ofWebDriver
.
-
-
-
Method Detail
-
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
-
-