org.openqa.selenium.remote.server.handler
Class NewSession
java.lang.Object
org.openqa.selenium.remote.server.handler.NewSession
- All Implemented Interfaces:
- JsonParametersAware, Handler
public class NewSession
- extends Object
- implements Handler, JsonParametersAware
NewSession
public NewSession(DriverSessions allSession)
getCapabilities
public Capabilities getCapabilities()
getResponse
public org.openqa.selenium.remote.Response getResponse()
setJsonParameters
public void setJsonParameters(Map<String,Object> allParameters)
throws Exception
- Specified by:
setJsonParameters
in interface JsonParametersAware
- Throws:
Exception
handle
public ResultType handle()
throws Exception
- Specified by:
handle
in interface Handler
- Throws:
Exception
getSessionId
public String getSessionId()
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2012. All Rights Reserved.