API Docs for: 0.0.6
Show:

FirefoxDriver.Commands.WebDriver.Session Class

Session related WebDriver endpoints see JsonWireProtocol

Methods

createSession

(
  • desiredCapabilities
  • requiredCapabilities
)
303

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 POST

    An object describing the session's desired capabilities.

  • requiredCapabilities POST

    An object describing the session's required capabilities

Returns:

303:

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 GET

    ID of the session to route the command to

session

(
  • sessionId
)

Delete the session.

Parameters:

  • sessionId GET

    ID 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