org.openqa.selenium.remote.server.handler
Class SwitchToWindow

java.lang.Object
  extended by org.openqa.selenium.remote.server.handler.WebDriverHandler
      extended by org.openqa.selenium.remote.server.handler.SwitchToWindow
All Implemented Interfaces:
java.util.concurrent.Callable<ResultType>, JsonParametersAware, Handler

public class SwitchToWindow
extends WebDriverHandler
implements JsonParametersAware


Field Summary
 
Fields inherited from class org.openqa.selenium.remote.server.handler.WebDriverHandler
sessionId, sessions
 
Constructor Summary
SwitchToWindow(DriverSessions sessions)
           
 
Method Summary
 ResultType call()
           
 void setJsonParameters(java.util.Map<java.lang.String,java.lang.Object> allParameters)
           
 void setName(java.lang.String name)
           
 java.lang.String toString()
           
 
Methods inherited from class org.openqa.selenium.remote.server.handler.WebDriverHandler
execute, getDriver, getKnownElements, getRealSessionId, getScreenshot, getSessionId, handle, newResponse, setSessionId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SwitchToWindow

public SwitchToWindow(DriverSessions sessions)
Method Detail

setName

public void setName(java.lang.String name)

setJsonParameters

public void setJsonParameters(java.util.Map<java.lang.String,java.lang.Object> allParameters)
                       throws java.lang.Exception
Specified by:
setJsonParameters in interface JsonParametersAware
Throws:
java.lang.Exception

call

public ResultType call()
                throws java.lang.Exception
Specified by:
call in interface java.util.concurrent.Callable<ResultType>
Throws:
java.lang.Exception

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2010. All Rights Reserved.