Class RemoteSession
java.lang.Object
org.openqa.selenium.grid.session.remote.RemoteSession
- All Implemented Interfaces:
ActiveSession
,HttpHandler
,WrapsDriver
- Direct Known Subclasses:
ServicedSession
Abstract class designed to do things like protocol conversion.
-
Nested Class Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
RemoteSession
(Dialect downstream, Dialect upstream, HttpHandler codec, SessionId id, Map<String, Object> capabilities) -
Method Summary
Modifier and TypeMethodDescriptionexecute
(HttpRequest req) Describe the current webdriver session's capabilities.getId()
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
- Specified by:
getId
in interfaceActiveSession
-
getUpstreamDialect
- Specified by:
getUpstreamDialect
in interfaceActiveSession
-
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
- Specified by:
getFileSystem
in interfaceActiveSession
-
getWrappedDriver
- Specified by:
getWrappedDriver
in interfaceWrapsDriver
- Returns:
- The driver that contains this element.
-
execute
- Specified by:
execute
in interfaceHttpHandler
- Throws:
UncheckedIOException
-