@Deprecated public class ScreenshotRule extends TestFailureAwareRule
| Constructor and Description |
|---|
ScreenshotRule(SeleniumProvider seleniumProvider)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
onError(org.junit.runner.Description description,
Throwable testFailure)
Deprecated.
Called if the test has thrown an error.
|
ScreenshotRule |
setScreenshotProvider(ScreenshotProvider screenshotProvider)
Deprecated.
|
after, apply, beforepublic ScreenshotRule(SeleniumProvider seleniumProvider)
protected void onError(org.junit.runner.Description description,
Throwable testFailure)
throws Throwable
TestFailureAwareRuleonError in class TestFailureAwareRuledescription - junit test description objecttestFailure - any error from the testThrowable - this will be added to testFailure as suppressed exception.
See Throwable.addSuppressed(Throwable)public ScreenshotRule setScreenshotProvider(ScreenshotProvider screenshotProvider)
Copyright © 2018 willhaben internet service GmbH & Co KG. All rights reserved.