org.openqa.selenium
Class NoSuchWindowException

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.NoSuchWindowException
All Implemented Interfaces:
Serializable

public class NoSuchWindowException
extends NotFoundException

Thrown by WebDriver.switchTo().window(String windowName).

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.openqa.selenium.WebDriverException
DRIVER_INFO, SESSION_ID
 
Constructor Summary
NoSuchWindowException(String reason)
           
NoSuchWindowException(String reason, Throwable cause)
           
 
Method Summary
 
Methods inherited from class org.openqa.selenium.WebDriverException
addInfo, getBuildInformation, getDriverInformation, getDriverName, getMessage, getSupportUrl, getSystemInformation, setSessionId
 
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

NoSuchWindowException

public NoSuchWindowException(String reason)

NoSuchWindowException

public NoSuchWindowException(String reason,
                             Throwable cause)


Copyright © 2012. All Rights Reserved.