Class Cleanup


  • @ParametersAreNonnullByDefault
    public class Cleanup
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static Cleanup of  
    • Constructor Summary

      Constructors 
      Constructor Description
      Cleanup()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isInvalidSelectorError​(java.lang.Throwable error)  
      java.lang.String webdriverExceptionMessage​(java.lang.String webDriverExceptionInfo)  
      java.lang.String webdriverExceptionMessage​(java.lang.Throwable webDriverException)  
      org.openqa.selenium.InvalidSelectorException wrap​(java.lang.Throwable error)  
      • Methods inherited from class java.lang.Object

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

      • Cleanup

        public Cleanup()
    • Method Detail

      • webdriverExceptionMessage

        @CheckReturnValue
        @Nonnull
        public java.lang.String webdriverExceptionMessage​(java.lang.Throwable webDriverException)
      • webdriverExceptionMessage

        @CheckReturnValue
        @Nullable
        public java.lang.String webdriverExceptionMessage​(@Nullable
                                                          java.lang.String webDriverExceptionInfo)
      • isInvalidSelectorError

        public boolean isInvalidSelectorError​(@Nullable
                                              java.lang.Throwable error)
      • wrap

        public org.openqa.selenium.InvalidSelectorException wrap​(java.lang.Throwable error)