public class ScreenShotOnError extends Monitor.NULL
| Modifier and Type | Class and Description |
|---|---|
static class |
ScreenShotOnError.WithUnitTestFrameWorkContext |
Monitor.NULL, Monitor.Timer| Constructor and Description |
|---|
ScreenShotOnError(org.openqa.selenium.TakesScreenshot webDriver,
java.lang.Class classCloseToOutputPath,
java.lang.String pathFrom,
java.lang.String pathTo) |
| Modifier and Type | Method and Description |
|---|---|
FluentExecutionStopped |
exceptionDuringExecution(FluentExecutionStopped ex,
org.openqa.selenium.WebElement webElement) |
java.lang.String |
getContext() |
void |
setContext(java.lang.String context) |
startpublic ScreenShotOnError(org.openqa.selenium.TakesScreenshot webDriver,
java.lang.Class classCloseToOutputPath,
java.lang.String pathFrom,
java.lang.String pathTo)
public void setContext(java.lang.String context)
public java.lang.String getContext()
public FluentExecutionStopped exceptionDuringExecution(FluentExecutionStopped ex, org.openqa.selenium.WebElement webElement)
exceptionDuringExecution in interface MonitorexceptionDuringExecution in class Monitor.NULLCopyright © 2017. All Rights Reserved.