Class NoSuchElementException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.openqa.selenium.WebDriverException
org.openqa.selenium.NotFoundException
org.openqa.selenium.NoSuchElementException
net.serenitybdd.core.exceptions.NoSuchElementException
All Implemented Interfaces:
java.io.Serializable

public class NoSuchElementException
extends org.openqa.selenium.NoSuchElementException
I need NoSuchElementException that does not include InvalidSelectorException. See issue #2138 for discussion.
Author:
SiKing
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
    NoSuchElementException​(java.lang.String reason)  
    NoSuchElementException​(java.lang.String reason, java.lang.Throwable cause)  
  • Method Summary

    Methods inherited from class org.openqa.selenium.NoSuchElementException

    getSupportUrl

    Methods inherited from class org.openqa.selenium.WebDriverException

    addInfo, getAdditionalInformation, getBuildInformation, getDriverName, getMessage, 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 Details

    • NoSuchElementException

      public NoSuchElementException​(java.lang.String reason)
    • NoSuchElementException

      public NoSuchElementException​(java.lang.String reason, java.lang.Throwable cause)