Class LocalDriver
java.lang.Object
com.vaadin.testbench.parallel.setup.LocalDriver
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.openqa.selenium.WebDriver
Creates aWebDriver
instance used for running the test locally for debug purposes.static org.openqa.selenium.WebDriver
createDriver
(org.openqa.selenium.remote.DesiredCapabilities desiredCapabilities) Creates aWebDriver
instance used for running the test locally for debug purposes.
-
Constructor Details
-
LocalDriver
public LocalDriver()
-
-
Method Details
-
createDriver
public static org.openqa.selenium.WebDriver createDriver()Creates aWebDriver
instance used for running the test locally for debug purposes. Uses firefoxDriver as WebDriver.- Returns:
- a driver instance
-
createDriver
public static org.openqa.selenium.WebDriver createDriver(org.openqa.selenium.remote.DesiredCapabilities desiredCapabilities) Creates aWebDriver
instance used for running the test locally for debug purposes.- Parameters:
desiredCapabilities
- the capabilities to use for the driver- Returns:
- a driver instance
-