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

java.lang.Object
  extended by org.openqa.selenium.remote.server.handler.WebDriverHandler
      extended by org.openqa.selenium.remote.server.handler.AddCookie
All Implemented Interfaces:
Callable<ResultType>, JsonParametersAware, RestishHandler

public class AddCookie
extends WebDriverHandler
implements JsonParametersAware


Constructor Summary
AddCookie(Session session)
           
 
Method Summary
 ResultType call()
           
protected  Cookie createCookie()
           
 void setJsonParameters(Map<String,Object> allParameters)
           
 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

AddCookie

public AddCookie(Session session)
Method Detail

call

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

setJsonParameters

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

createCookie

protected Cookie createCookie()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2013. All Rights Reserved.