Selenium icon

Selenium

Interact with a Selenium Server via W3C API

Navigate

AI-generated

Summary

Navigate a Selenium WebDriver session to the required URL. Optionally wait for an element matching a selector before returning; the selector wait uses the configured timeout and fails the operation if no match is found.

Inputs

  • Session ID (required) — ID of the active Selenium session to navigate.
  • URL (required) — Destination URL.
  • Timeout — Maximum request wait in milliseconds; defaults to 10000. When waiting for a selector, this also determines how long the operation retries.
  • Wait For Selector Type — Locator strategy for the optional selector: CSS selector (default), XPath, ID, name, tag name, class name, link text, or partial link text.
  • Wait For Selector — Optional selector value. When provided, the operation polls for a matching element before continuing.

Output shape

A single item containing a JSON object.

On success, the object has success: true, action: "navigate", the requested url, and sessionId. If the optional selector is not found before the timeout, the operation errors. Requests use the configured Selenium API credentials.

Links

Discussion