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:
Callable<ResultType>, JsonParametersAware, Handler

public class SwitchToWindow
extends WebDriverHandler
implements JsonParametersAware


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

Constructor Detail

SwitchToWindow

public SwitchToWindow(Session session)
Method Detail

setName

public void setName(String name)

setJsonParameters

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

call

public ResultType call()
                throws Exception
Specified by:
call in interface Callable<ResultType>
Throws:
Exception

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2012. All Rights Reserved.