View Source Improve this doc

sessions

Returns a list of the currently active sessions. Each session will be returned as a list of JSON objects with the following keys:

Key Type Description
id string The session ID
capabilities object An object describing the session capabilities

(Not part of the official Webdriver specification).

Usage

1
2
browser.sessions();

Returns

  • <Object[]>: a list of the currently active sessions