Package org.openqa.selenium
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
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
InvalidSelectorException
public class NoSuchElementException extends NotFoundException
Thrown byWebDriver.findElement(By by)
andWebElement.findElement(By by)
.- 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getSupportUrl()
-
Methods inherited from class org.openqa.selenium.WebDriverException
addInfo, getAdditionalInformation, getBuildInformation, getDriverName, getMessage, getSystemInformation
-
-
-
-
Method Detail
-
getSupportUrl
public java.lang.String getSupportUrl()
- Overrides:
getSupportUrl
in classWebDriverException
-
-