Contains information about a WebDriver session.

Hierarchy

  • Session

Constructors

  • Parameters

    • id: string

      The session ID.

    • capabilities: {} | Capabilities

      The session capabilities.

    Returns Session

Methods

  • Retrieves the value of a specific capability.

    Parameters

    • key: string

      The capability to retrieve.

    Returns any

    The capability value.

  • Returns string

    This session's ID.

  • Returns the JSON representation of this object, which is just the string session ID.

    Returns string

    The JSON representation of this Session.

Generated using TypeDoc