Package org.camunda.bpm.util
Class SeleniumScreenshotRule
java.lang.Object
org.camunda.bpm.util.SeleniumScreenshotRule
- All Implemented Interfaces:
org.junit.rules.TestRule
Allows to take screenshots in case of an selenium test error.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.junit.runners.model.Statement
apply
(org.junit.runners.model.Statement base, org.junit.runner.Description description)
-
Field Details
-
webDriver
protected org.openqa.selenium.WebDriver webDriver
-
-
Constructor Details
-
SeleniumScreenshotRule
public SeleniumScreenshotRule(org.openqa.selenium.WebDriver driver)
-
-
Method Details
-
apply
public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement base, org.junit.runner.Description description) - Specified by:
apply
in interfaceorg.junit.rules.TestRule
-