FirefoxDriver.Commands.WebDriver.Session Class
Session related WebDriver endpoints see JsonWireProtocol
Item Index
Methods
Methods
createSession
-
desiredCapabilities
-
requiredCapabilities
Create a new session. The server should attempt to create a session that most closely matches the desired and required capabilities. Required capabilities have higher priority than desired capabilities and must be set for the session to be created.
Parameters:
-
desiredCapabilities
POSTAn object describing the session's desired capabilities.
-
requiredCapabilities
POSTAn object describing the session's required capabilities
Returns:
See Other redirect to /session/:sessionId, where :sessionId is the ID of the newly created session.
session
-
sessionId
Retrieve the capabilities of the specified session.
Parameters:
-
sessionId
GETID of the session to route the command to
session
-
sessionId
Delete the session.
Parameters:
-
sessionId
GETID of the session to route the command to
sessions
()
Returns a list of the currently active sessions
sessions
()
Returns a list of the currently active sessions