Selenium icon

Selenium

Interact with a Selenium Server via W3C API

Close Session

AI-generated

Summary

Closes the specified active Selenium WebDriver session by sending a DELETE request to the Selenium server. Use it when a workflow has finished interacting with a session created or identified earlier.

Inputs

  • Session ID (required) — The ID of the Selenium session to close.
  • Timeout — Maximum time to wait for the request, in milliseconds; defaults to 10000.

Output shape

A single item with a JSON object containing success, action, and sessionId fields.

On success, success is true, action is "closeSession", and sessionId is the ID that was closed. Request errors are raised unless the node is configured to continue on fail.

Links

Discussion