public abstract class RemoteSession extends java.lang.Object implements ActiveSession
Modifier and Type | Class and Description |
---|---|
static class |
RemoteSession.Factory<X> |
Modifier and Type | Field and Description |
---|---|
protected static java.util.logging.Logger |
log |
Modifier | Constructor and Description |
---|---|
protected |
RemoteSession(Dialect downstream,
Dialect upstream,
org.openqa.selenium.remote.server.SessionCodec codec,
SessionId id,
java.util.Map<java.lang.String,java.lang.Object> capabilities) |
Modifier and Type | Method and Description |
---|---|
void |
execute(HttpRequest req,
HttpResponse resp) |
java.util.Map<java.lang.String,java.lang.Object> |
getCapabilities()
Describe the current webdriver session's capabilities.
|
Dialect |
getDownstreamDialect() |
TemporaryFilesystem |
getFileSystem() |
SessionId |
getId() |
Dialect |
getUpstreamDialect() |
WebDriver |
getWrappedDriver() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
stop
public SessionId getId()
getId
in interface ActiveSession
public Dialect getUpstreamDialect()
getUpstreamDialect
in interface ActiveSession
public Dialect getDownstreamDialect()
getDownstreamDialect
in interface ActiveSession
public java.util.Map<java.lang.String,java.lang.Object> getCapabilities()
ActiveSession
getCapabilities
in interface ActiveSession
public TemporaryFilesystem getFileSystem()
getFileSystem
in interface ActiveSession
public WebDriver getWrappedDriver()
getWrappedDriver
in interface WrapsDriver
public void execute(HttpRequest req, HttpResponse resp) throws java.io.IOException
execute
in interface CommandHandler
java.io.IOException