org.seleniumhq.selenium.fluent.monitors
Class ScreenShotOnError
java.lang.Object
org.seleniumhq.selenium.fluent.Monitor.NULL
org.seleniumhq.selenium.fluent.monitors.ScreenShotOnError
- All Implemented Interfaces:
- Monitor
- Direct Known Subclasses:
- ScreenShotOnError.WithUnitTestFrameWorkContext
public class ScreenShotOnError
- extends Monitor.NULL
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ScreenShotOnError
public ScreenShotOnError(org.openqa.selenium.TakesScreenshot webDriver,
Class classCloseToOutputPath,
String pathFrom,
String pathTo)
setContext
public void setContext(String context)
getContext
public String getContext()
exceptionDuringExecution
public FluentExecutionStopped exceptionDuringExecution(FluentExecutionStopped ex,
org.openqa.selenium.WebElement webElement)
- Specified by:
exceptionDuringExecution in interface Monitor- Overrides:
exceptionDuringExecution in class Monitor.NULL
Copyright © 2013. All Rights Reserved.