Class BrowserstackSeleniumProvider
- java.lang.Object
-
- at.willhaben.willtest.rule.TestFailureAwareRule
-
- at.willhaben.willtest.rule.AbstractSeleniumProvider<BrowserstackSeleniumProvider,org.openqa.selenium.remote.RemoteWebDriver>
-
- at.willhaben.willtest.browserstack.rule.BrowserstackSeleniumProvider
-
- All Implemented Interfaces:
at.willhaben.willtest.config.SeleniumProvider<BrowserstackSeleniumProvider,org.openqa.selenium.remote.RemoteWebDriver>,org.junit.rules.TestRule
public class BrowserstackSeleniumProvider extends at.willhaben.willtest.rule.AbstractSeleniumProvider<BrowserstackSeleniumProvider,org.openqa.selenium.remote.RemoteWebDriver>
SeleniumProviderimplementation to run tests on BrowserStack. It is basically a normal selenium hub connection with some special properties
-
-
Constructor Summary
Constructors Constructor Description BrowserstackSeleniumProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidbefore(org.junit.runner.Description description)protected org.openqa.selenium.remote.RemoteWebDriverconstructWebDriver(org.openqa.selenium.remote.DesiredCapabilities desiredCapabilities)protected org.openqa.selenium.remote.DesiredCapabilitiescreateDesiredCapabilities(org.junit.runner.Description description)BrowserstackSeleniumProvidergetThis()-
Methods inherited from class at.willhaben.willtest.rule.AbstractSeleniumProvider
addWebDriverConfigurationParticipant, addWebDriverEventListener, after, getWebDriver
-
-
-
-
Method Detail
-
createDesiredCapabilities
protected org.openqa.selenium.remote.DesiredCapabilities createDesiredCapabilities(org.junit.runner.Description description)
- Overrides:
createDesiredCapabilitiesin classat.willhaben.willtest.rule.AbstractSeleniumProvider<BrowserstackSeleniumProvider,org.openqa.selenium.remote.RemoteWebDriver>
-
constructWebDriver
protected org.openqa.selenium.remote.RemoteWebDriver constructWebDriver(org.openqa.selenium.remote.DesiredCapabilities desiredCapabilities)
- Specified by:
constructWebDriverin classat.willhaben.willtest.rule.AbstractSeleniumProvider<BrowserstackSeleniumProvider,org.openqa.selenium.remote.RemoteWebDriver>
-
before
protected void before(org.junit.runner.Description description) throws java.lang.Throwable- Overrides:
beforein classat.willhaben.willtest.rule.AbstractSeleniumProvider<BrowserstackSeleniumProvider,org.openqa.selenium.remote.RemoteWebDriver>- Throws:
java.lang.Throwable
-
getThis
public BrowserstackSeleniumProvider getThis()
-
-