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:
Serializable

public class NoSuchFrameException
extends NotFoundException

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

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.openqa.selenium.WebDriverException
DRIVER_INFO, SESSION_ID
 
Constructor Summary
NoSuchFrameException(String reason)
           
NoSuchFrameException(String reason, Throwable cause)
           
 
Method Summary
 
Methods inherited from class org.openqa.selenium.WebDriverException
addInfo, getAdditionalInformation, getBuildInformation, 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(String reason)

NoSuchFrameException

public NoSuchFrameException(String reason,
                            Throwable cause)


Copyright © 2013. All Rights Reserved.