public class ScreenshotOnFailureRule
extends org.junit.rules.TestWatcher
| Constructor and Description |
|---|
ScreenshotOnFailureRule(java.util.function.Supplier<org.openqa.selenium.WebDriver> provider) |
| Modifier and Type | Method and Description |
|---|---|
void |
failed(java.lang.Throwable t,
org.junit.runner.Description test) |