org.openqa.selenium
Class NoSuchElementException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.openqa.selenium.WebDriverException
                  extended by org.openqa.selenium.NotFoundException
                      extended by org.openqa.selenium.NoSuchElementException
All Implemented Interfaces:
Serializable

public class NoSuchElementException
extends NotFoundException

Thrown by WebDriver.findElement(By by) and WebElement.findElement(By by).

See Also:
Serialized Form

Constructor Summary
NoSuchElementException(String reason)
           
NoSuchElementException(String reason, Throwable cause)
           
 
Method Summary
 String getSupportUrl()
           
 
Methods inherited from class org.openqa.selenium.WebDriverException
getBuildInformation, getDriverInformation, getDriverName, getMessage, getSystemInformation
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NoSuchElementException

public NoSuchElementException(String reason)

NoSuchElementException

public NoSuchElementException(String reason,
                              Throwable cause)
Method Detail

getSupportUrl

public String getSupportUrl()
Overrides:
getSupportUrl in class WebDriverException


Copyright © 2011. All Rights Reserved.