We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.testbench.parallel.setup.
Class RemoteDriver
java.lang.Object
com.vaadin.testbench.parallel.setup.RemoteDriver
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.openqa.selenium.WebDriver
createDriver
(String hubURL, org.openqa.selenium.remote.DesiredCapabilities capabilities) Creates a
WebDriver
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 a
WebDriver
instance used for running the test remotely.Parameters:
hubURL
- the URL of the hubcapabilities
- the type of browser neededReturns:
a driver instance
Throws:
Exception
- if the driver could not be created
-