Class LocalDriver
java.lang.Object
com.vaadin.testbench.parallel.setup.LocalDriver
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.openqa.selenium.WebDriverCreates aWebDriverinstance used for running the test locally for debug purposes.static org.openqa.selenium.WebDrivercreateDriver(org.openqa.selenium.remote.DesiredCapabilities desiredCapabilities) Creates aWebDriverinstance 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 aWebDriverinstance 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 aWebDriverinstance used for running the test locally for debug purposes.- Parameters:
desiredCapabilities- the capabilities to use for the driver- Returns:
- a driver instance
-