Class LocalWebDriverSupplier
java.lang.Object
org.shakespeareframework.selenium.WebDriverSupplier
org.shakespeareframework.selenium.WebDriverManagerWebDriverSupplier
org.shakespeareframework.selenium.LocalWebDriverSupplier
- All Implemented Interfaces:
AutoCloseable
,Supplier<org.openqa.selenium.WebDriver>
A
WebDriverSupplier
for locally installed browser instances. Uses WebDriverManager
to set up the local binary and create the WebDriver
.-
Constructor Summary
ConstructorsConstructorDescriptionLocalWebDriverSupplier
(BrowserType browserType) LocalWebDriverSupplier
(BrowserType browserType, org.openqa.selenium.Capabilities additionalCapabilities) -
Method Summary
Methods inherited from class org.shakespeareframework.selenium.WebDriverManagerWebDriverSupplier
close, get
Methods inherited from class org.shakespeareframework.selenium.WebDriverSupplier
getBrowserType, getCapabilities, toString
-
Constructor Details
-
LocalWebDriverSupplier
public LocalWebDriverSupplier(BrowserType browserType, org.openqa.selenium.Capabilities additionalCapabilities) - Parameters:
browserType
- theBrowserType
to be setupadditionalCapabilities
- additionalCapabilities
for theWebDriver
-
LocalWebDriverSupplier
- Parameters:
browserType
- theBrowserType
to be setup
-