Class RemoteDriver
java.lang.Object
com.vaadin.testbench.parallel.setup.RemoteDriver
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.openqa.selenium.WebDriver
createDriver
(String hubURL, org.openqa.selenium.remote.DesiredCapabilities capabilities) Creates aWebDriver
instance used for running the test remotely.
-
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 aWebDriver
instance used for running the test remotely.- Parameters:
hubURL
- the URL of the hubcapabilities
- the type of browser needed- Returns:
- a driver instance
- Throws:
Exception
- if the driver could not be created
-