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(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() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
stop
protected RemoteSession(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)
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.io.TemporaryFilesystem getFileSystem()
getFileSystem
in interface ActiveSession
public org.openqa.selenium.WebDriver getWrappedDriver()
getWrappedDriver
in interface org.openqa.selenium.internal.WrapsDriver
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