public class NewSession extends java.lang.Object implements RestishHandler<org.openqa.selenium.remote.Response>, JsonParametersAware
Constructor and Description |
---|
NewSession(DriverSessions allSession) |
Modifier and Type | Method and Description |
---|---|
org.openqa.selenium.Capabilities |
getCapabilities() |
java.lang.String |
getSessionId() |
org.openqa.selenium.remote.Response |
handle() |
void |
setJsonParameters(java.util.Map<java.lang.String,java.lang.Object> allParameters) |
java.lang.String |
toString() |
public NewSession(DriverSessions allSession)
public org.openqa.selenium.Capabilities getCapabilities()
public void setJsonParameters(java.util.Map<java.lang.String,java.lang.Object> allParameters) throws java.lang.Exception
setJsonParameters
in interface JsonParametersAware
java.lang.Exception
public org.openqa.selenium.remote.Response handle() throws java.lang.Exception
handle
in interface RestishHandler<org.openqa.selenium.remote.Response>
java.lang.Exception
public java.lang.String getSessionId()
public java.lang.String toString()
toString
in class java.lang.Object