Class RemoteSession
java.lang.Object
org.openqa.selenium.grid.session.remote.RemoteSession
- All Implemented Interfaces:
ActiveSession
,org.openqa.selenium.remote.http.HttpHandler
,org.openqa.selenium.WrapsDriver
- Direct Known Subclasses:
ServicedSession
Abstract class designed to do things like protocol conversion.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
RemoteSession
(org.openqa.selenium.remote.Dialect downstream, org.openqa.selenium.remote.Dialect upstream, org.openqa.selenium.remote.http.HttpHandler codec, org.openqa.selenium.remote.SessionId id, Map<String, Object> capabilities) -
Method Summary
Modifier and TypeMethodDescriptionorg.openqa.selenium.remote.http.HttpResponse
execute
(org.openqa.selenium.remote.http.HttpRequest req) Describe the current webdriver session's capabilities.org.openqa.selenium.remote.Dialect
org.openqa.selenium.io.TemporaryFilesystem
org.openqa.selenium.remote.SessionId
getId()
org.openqa.selenium.remote.Dialect
org.openqa.selenium.WebDriver
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.openqa.selenium.grid.session.ActiveSession
stop
Methods inherited from interface org.openqa.selenium.remote.http.HttpHandler
with
-
Constructor Details
-
RemoteSession
-
-
Method Details
-
getId
public org.openqa.selenium.remote.SessionId getId()- Specified by:
getId
in interfaceActiveSession
-
getUpstreamDialect
public org.openqa.selenium.remote.Dialect getUpstreamDialect()- Specified by:
getUpstreamDialect
in interfaceActiveSession
-
getDownstreamDialect
public org.openqa.selenium.remote.Dialect getDownstreamDialect()- Specified by:
getDownstreamDialect
in interfaceActiveSession
-
getCapabilities
Description copied from interface:ActiveSession
Describe the current webdriver session's capabilities.- Specified by:
getCapabilities
in interfaceActiveSession
-
getFileSystem
public org.openqa.selenium.io.TemporaryFilesystem getFileSystem()- Specified by:
getFileSystem
in interfaceActiveSession
-
getWrappedDriver
public org.openqa.selenium.WebDriver getWrappedDriver()- Specified by:
getWrappedDriver
in interfaceorg.openqa.selenium.WrapsDriver
-
execute
public org.openqa.selenium.remote.http.HttpResponse execute(org.openqa.selenium.remote.http.HttpRequest req) throws UncheckedIOException - Specified by:
execute
in interfaceorg.openqa.selenium.remote.http.HttpHandler
- Throws:
UncheckedIOException
-