Package org.camunda.bpm.util
Class SeleniumScreenshotRule
- java.lang.Object
-
- org.camunda.bpm.util.SeleniumScreenshotRule
-
- All Implemented Interfaces:
org.junit.rules.TestRule
public class SeleniumScreenshotRule extends Object implements org.junit.rules.TestRule
Allows to take screenshots in case of an selenium test error.
-
-
Field Summary
Fields Modifier and Type Field Description protected org.openqa.selenium.WebDriver
webDriver
-
Constructor Summary
Constructors Constructor Description SeleniumScreenshotRule(org.openqa.selenium.WebDriver driver)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.junit.runners.model.Statement
apply(org.junit.runners.model.Statement base, org.junit.runner.Description description)
-