Selenium icon

Selenium

Interact with a Selenium Server via W3C API

Get All Sessions

AI-generated

Summary

Lists active WebDriver sessions from the Selenium Server and fetches each session’s current URL and page title when available.

Inputs

  • Timeout — Maximum time to wait for each server request, in milliseconds; defaults to 10000.

Output shape

A single item containing success, action, count, and a sessions array.

Each session entry includes its ID, start time, URI, node ID, browser name, browser version, platform, current URL, and page title. URL or title lookup failures are ignored, so those fields may be absent. With no active sessions, count is 0 and sessions is empty.

Links

Discussion