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.
Modifier and Type | Method and Description |
---|---|
org.openqa.selenium.remote.DesiredCapabilities |
create(Browser browser) |
org.openqa.selenium.remote.DesiredCapabilities |
create(Browser browser,
String version) |
org.openqa.selenium.remote.DesiredCapabilities |
create(Browser browser,
String version,
org.openqa.selenium.Platform platform) |
org.openqa.selenium.remote.DesiredCapabilities create(Browser browser)
browser
- generic browser to run the test onDesiredCapabilities
with given browser, and default
version and platformorg.openqa.selenium.remote.DesiredCapabilities create(Browser browser, String version)
browser
- generic browser to run the test onversion
- browser versionDesiredCapabilities
with given browser and version, and
default platformorg.openqa.selenium.remote.DesiredCapabilities create(Browser browser, String version, org.openqa.selenium.Platform platform)
browser
- generic browser to run the test onversion
- browser versionplatform
- platform in which to run the testDesiredCapabilities
with given browser, version and
platformCopyright © 2019. All rights reserved.