public class WebDriverLog<P extends SeleniumProvider<P,D>,D extends org.openqa.selenium.WebDriver> extends TestFailureAwareRule implements WebDriverConfigurationParticipant<D>
LogContext and at.willhaben.willtest.log4j.LogFileRule| Constructor and Description |
|---|
WebDriverLog(SeleniumProvider<P,D> seleniumProvider) |
| Modifier and Type | Method and Description |
|---|---|
void |
addDesiredCapabilities(org.openqa.selenium.remote.DesiredCapabilities desiredCapabilities)
Can add desired capabilities to a
WebDriver before it gets created. |
protected void |
onError(org.junit.runner.Description description,
Throwable testFailure)
Called if the test has thrown an error.
|
after, apply, beforeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpostConstructpublic WebDriverLog(SeleniumProvider<P,D> seleniumProvider)
protected void onError(org.junit.runner.Description description,
Throwable testFailure)
TestFailureAwareRuleonError in class TestFailureAwareRuledescription - junit test description objecttestFailure - any error from the testpublic void addDesiredCapabilities(org.openqa.selenium.remote.DesiredCapabilities desiredCapabilities)
WebDriverConfigurationParticipantWebDriver before it gets created.addDesiredCapabilities in interface WebDriverConfigurationParticipant<D extends org.openqa.selenium.WebDriver>desiredCapabilities - desired capabilities object, which can be adjustedCopyright © 2018 willhaben internet service GmbH & Co KG. All rights reserved.