Package com.vaadin.testbench.parallel
Interface TestBenchBrowserFactory
- All Known Implementing Classes:
DefaultBrowserFactory
public interface TestBenchBrowserFactory
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 on- Returns:
DesiredCapabilities
with given browser, and default version and platform
-
create
- Parameters:
browser
- generic browser to run the test onversion
- browser version- Returns:
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 test- Returns:
DesiredCapabilities
with given browser, version and platform
-