com.vaadin.testbench.parallel.
Class DefaultBrowserFactory
All Implemented Interfaces:
Default TestBenchBrowserFactory
used to generate
DesiredCapabilities
through BrowserFactory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.openqa.selenium.remote.DesiredCapabilities
org.openqa.selenium.remote.DesiredCapabilities
org.openqa.selenium.remote.DesiredCapabilities
-
Constructor Details
-
DefaultBrowserFactory
public DefaultBrowserFactory()
-
-
Method Details
-
create
Specified by:
create
in interfaceTestBenchBrowserFactory
Parameters:
browser
- generic browser to run the test onReturns:
DesiredCapabilities
with given browser, and default version and platform -
create
Specified by:
create
in interfaceTestBenchBrowserFactory
Parameters:
browser
- generic browser to run the test onversion
- browser versionReturns:
DesiredCapabilities
with given browser and version, and default platform -
create
public org.openqa.selenium.remote.DesiredCapabilities create(Browser browser, String version, org.openqa.selenium.Platform platform) Specified by:
create
in interfaceTestBenchBrowserFactory
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
-