Class LocalDriver

java.lang.Object
com.vaadin.testbench.parallel.setup.LocalDriver

public class LocalDriver extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.openqa.selenium.WebDriver
    Creates a WebDriver instance used for running the test locally for debug purposes.
    static org.openqa.selenium.WebDriver
    createDriver(org.openqa.selenium.remote.DesiredCapabilities desiredCapabilities)
    Creates a WebDriver instance used for running the test locally for debug purposes.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • LocalDriver

      public LocalDriver()
  • Method Details

    • createDriver

      public static org.openqa.selenium.WebDriver createDriver()
      Creates a WebDriver 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 a WebDriver instance used for running the test locally for debug purposes.
      Parameters:
      desiredCapabilities - the capabilities to use for the driver
      Returns:
      a driver instance