public class ServicedSession extends java.lang.Object implements ActiveSession
Modifier and Type | Class and Description |
---|---|
static class |
ServicedSession.Factory |
Constructor and Description |
---|
ServicedSession(org.openqa.selenium.remote.service.DriverService service,
org.openqa.selenium.remote.Dialect downstream,
org.openqa.selenium.remote.Dialect upstream,
org.openqa.selenium.remote.server.SessionCodec codec,
org.openqa.selenium.remote.SessionId id,
java.util.Map<java.lang.String,java.lang.Object> capabilities) |
Modifier and Type | Method and Description |
---|---|
void |
execute(org.openqa.selenium.remote.http.HttpRequest req,
org.openqa.selenium.remote.http.HttpResponse resp) |
java.util.Map<java.lang.String,java.lang.Object> |
getCapabilities()
Describe the current webdriver session's capabilities.
|
org.openqa.selenium.remote.Dialect |
getDownstreamDialect() |
org.openqa.selenium.io.TemporaryFilesystem |
getFileSystem() |
org.openqa.selenium.remote.SessionId |
getId() |
org.openqa.selenium.remote.Dialect |
getUpstreamDialect() |
org.openqa.selenium.WebDriver |
getWrappedDriver() |
void |
stop() |
public ServicedSession(org.openqa.selenium.remote.service.DriverService service, org.openqa.selenium.remote.Dialect downstream, org.openqa.selenium.remote.Dialect upstream, org.openqa.selenium.remote.server.SessionCodec codec, org.openqa.selenium.remote.SessionId id, java.util.Map<java.lang.String,java.lang.Object> capabilities) throws java.io.IOException
java.io.IOException
public void execute(org.openqa.selenium.remote.http.HttpRequest req, org.openqa.selenium.remote.http.HttpResponse resp) throws java.io.IOException
execute
in interface CommandHandler
java.io.IOException
public org.openqa.selenium.remote.SessionId getId()
getId
in interface ActiveSession
public org.openqa.selenium.remote.Dialect getUpstreamDialect()
getUpstreamDialect
in interface ActiveSession
public org.openqa.selenium.remote.Dialect getDownstreamDialect()
getDownstreamDialect
in interface ActiveSession
public java.util.Map<java.lang.String,java.lang.Object> getCapabilities()
ActiveSession
getCapabilities
in interface ActiveSession
public org.openqa.selenium.WebDriver getWrappedDriver()
getWrappedDriver
in interface org.openqa.selenium.internal.WrapsDriver
public org.openqa.selenium.io.TemporaryFilesystem getFileSystem()
getFileSystem
in interface ActiveSession
public void stop()
stop
in interface ActiveSession