Class ScreenshotException

  • All Implemented Interfaces:
    java.io.Serializable

    public class ScreenshotException
    extends org.openqa.selenium.WebDriverException
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class org.openqa.selenium.WebDriverException

        BASE_SUPPORT_URL, DRIVER_INFO, SESSION_ID
    • Constructor Summary

      Constructors 
      Constructor Description
      ScreenshotException​(java.lang.String screenGrab)  
      ScreenshotException​(java.lang.String screenGrab, java.lang.Throwable cause)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getBase64EncodedScreenshot()  
      • Methods inherited from class org.openqa.selenium.WebDriverException

        addInfo, getAdditionalInformation, getBuildInformation, getDriverName, getMessage, getRawMessage, getSupportUrl, getSystemInformation
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ScreenshotException

        public ScreenshotException​(java.lang.String screenGrab)
      • ScreenshotException

        public ScreenshotException​(java.lang.String screenGrab,
                                   java.lang.Throwable cause)
    • Method Detail

      • getBase64EncodedScreenshot

        public java.lang.String getBase64EncodedScreenshot()