com.vaadin.testbench.parallel.setup.

Class RemoteDriver

java.lang.Object
com.vaadin.testbench.parallel.setup.RemoteDriver
public class RemoteDriver extends Object
  • Constructor Details

    • RemoteDriver

      public RemoteDriver()
  • Method Details

    • createDriver

      public org.openqa.selenium.WebDriver createDriver(String hubURL, org.openqa.selenium.remote.DesiredCapabilities capabilities) throws Exception

      Creates a WebDriver instance used for running the test remotely.

      Parameters:

      hubURL - the URL of the hub

      capabilities - the type of browser needed

      Returns:

      a driver instance

      Throws:

      Exception - if the driver could not be created