org.seleniumhq.selenium.fluent.monitors
Class ScreenShotOnError

java.lang.Object
  extended by org.seleniumhq.selenium.fluent.Monitor.NULL
      extended by org.seleniumhq.selenium.fluent.monitors.ScreenShotOnError
All Implemented Interfaces:
Monitor
Direct Known Subclasses:
ScreenShotOnError.WithUnitTestFrameWorkContext

public class ScreenShotOnError
extends Monitor.NULL


Nested Class Summary
static class ScreenShotOnError.WithUnitTestFrameWorkContext
           
 
Nested classes/interfaces inherited from interface org.seleniumhq.selenium.fluent.Monitor
Monitor.NULL, Monitor.Timer
 
Constructor Summary
ScreenShotOnError(org.openqa.selenium.TakesScreenshot webDriver, Class classCloseToOutputPath, String pathFrom, String pathTo)
           
 
Method Summary
 FluentExecutionStopped exceptionDuringExecution(FluentExecutionStopped ex, org.openqa.selenium.WebElement webElement)
           
 String getContext()
           
 void setContext(String context)
           
 
Methods inherited from class org.seleniumhq.selenium.fluent.Monitor.NULL
start
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScreenShotOnError

public ScreenShotOnError(org.openqa.selenium.TakesScreenshot webDriver,
                         Class classCloseToOutputPath,
                         String pathFrom,
                         String pathTo)
Method Detail

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.