Class UIAssertionError

    • Field Summary

      Fields 
      Modifier and Type Field Description
      long timeoutMs  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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, getMessage, 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

        public UIAssertionError​(Driver driver,
                                java.lang.Throwable cause)
      • UIAssertionError

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

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

      • toString

        public java.lang.String toString()
        Overrides:
        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
        Returns:
        empty string if screenshots are disabled
      • wrap

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