com.vaadin.testbench.parallel.
Interface TestBenchBrowserFactory
All Known Implementing Classes:
Interface used to create DesiredCapabilities
configurations suitable
for test cases.
This interface should be implemented and used in test cases through the
BrowserFactory
annotation. Classes that implement this interface must
have a constructor with zero arguments.
-
Method Summary
Modifier and TypeMethodDescriptionorg.openqa.selenium.remote.DesiredCapabilities
org.openqa.selenium.remote.DesiredCapabilities
org.openqa.selenium.remote.DesiredCapabilities
-
Method Details
-
create
Parameters:
browser
- generic browser to run the test onReturns:
DesiredCapabilities
with given browser, and default version and platform -
create
Parameters:
browser
- generic browser to run the test onversion
- browser versionReturns:
DesiredCapabilities
with given browser and version, and default platform -
create
org.openqa.selenium.remote.DesiredCapabilities create(Browser browser, String version, org.openqa.selenium.Platform platform) Parameters:
browser
- generic browser to run the test onversion
- browser versionplatform
- platform in which to run the testReturns:
DesiredCapabilities
with given browser, version and platform
-