org.openqa.selenium
Class NoSuchFrameException

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.NoSuchFrameException
All Implemented Interfaces:
java.io.Serializable

public class NoSuchFrameException
extends NotFoundException

Thrown by WebDriver.switchTo().frame(int frameIndex) and WebDriver.switchTo().frame(String frameName).

See Also:
Serialized Form

Constructor Summary
NoSuchFrameException(java.lang.String reason)
           
NoSuchFrameException(java.lang.String reason, java.lang.Throwable cause)
           
 
Method Summary
 
Methods inherited from class org.openqa.selenium.WebDriverException
getBuildInformation, getDriverInformation, getDriverName, getMessage, getSupportUrl, 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

NoSuchFrameException

public NoSuchFrameException(java.lang.String reason)

NoSuchFrameException

public NoSuchFrameException(java.lang.String reason,
                            java.lang.Throwable cause)


Copyright © 2011. All Rights Reserved.