Class UIAssertionError

    • Field Summary

      Modifier and Type Field Description
      long timeoutMs  
    • Constructor Summary

      Modifier Constructor Description
      protected UIAssertionError​(Driver driver, java.lang.String message)  
      protected UIAssertionError​(Driver driver, java.lang.String message, java.lang.Throwable cause)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getMessage()  
      java.lang.String getScreenshot()
      Get path to screenshot taken after failed test
      java.lang.String toString()  
      protected java.lang.String uiDetails()  
      static java.lang.Error wrap​(Driver driver, java.lang.Error error, long timeoutMs)  
      • Methods inherited from class java.lang.Throwable

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

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

      • timeoutMs

        public long timeoutMs
    • Constructor Detail

      • UIAssertionError

        protected UIAssertionError​(Driver driver,
                                   java.lang.String message)
      • UIAssertionError

        protected UIAssertionError​(Driver driver,
                                   java.lang.String message,
                                   java.lang.Throwable cause)
    • Method Detail

      • getMessage

        public final java.lang.String getMessage()
        getMessage in class java.lang.Throwable
      • toString

        public final java.lang.String toString()
        toString in class java.lang.Throwable
      • uiDetails

        protected java.lang.String uiDetails()
      • getScreenshot

        public java.lang.String getScreenshot()
        Get path to screenshot taken after failed test
        empty string if screenshots are disabled
      • wrap

        public static java.lang.Error wrap​(Driver driver,
                                           java.lang.Error error,
                                           long timeoutMs)