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() |
javax.management.ObjectName |
getObjectName() |
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.IOExceptionpublic void execute(org.openqa.selenium.remote.http.HttpRequest req,
org.openqa.selenium.remote.http.HttpResponse resp)
throws java.io.IOException
execute in interface CommandHandlerjava.io.IOExceptionpublic org.openqa.selenium.remote.SessionId getId()
getId in interface ActiveSessionpublic org.openqa.selenium.remote.Dialect getUpstreamDialect()
getUpstreamDialect in interface ActiveSessionpublic org.openqa.selenium.remote.Dialect getDownstreamDialect()
getDownstreamDialect in interface ActiveSessionpublic java.util.Map<java.lang.String,java.lang.Object> getCapabilities()
ActiveSessiongetCapabilities in interface ActiveSessionpublic org.openqa.selenium.WebDriver getWrappedDriver()
getWrappedDriver in interface org.openqa.selenium.internal.WrapsDriverpublic org.openqa.selenium.io.TemporaryFilesystem getFileSystem()
getFileSystem in interface ActiveSessionpublic void stop()
stop in interface ActiveSessionpublic javax.management.ObjectName getObjectName()
throws javax.management.MalformedObjectNameException
javax.management.MalformedObjectNameException