Anchor Browser icon

Anchor Browser

Interact with Anchor Browser API for browser automation and control

Browser Session → Create Session

AI-generated

Summary

Create a new browser session with customizable session, browser, proxy, and integration configurations using the Anchor Browser API.

Inputs

  • Base URL — The base URL for the Anchor Browser API; defaults to 'https://api.anchorbrowser.io'.
  • Session Configuration — Settings for the browser session including initial URL, idle timeout in minutes, max duration in minutes, read-only live view mode, and whether video recording is active.
  • Browser Configuration — Settings controlling browser features such as adblocking, CAPTCHA solving, headless mode, profile persistence, viewport size, user agent overrides, and other browser behaviors.
  • Proxy Configuration — Proxy settings including whether proxy is active, proxy type (Anchor government, mobile, residential, custom, etc.), country code, region, city, and credentials for custom proxy servers.
  • Integrations — Array of integrations to load into the browser session; each requires a unique integration ID and can specify loading all or specific secrets.

Output shape

A single JSON object representing the created session details.

The output object includes the session ID, Chrome DevTools Protocol URL, live view URL, and all configured session details. The session ID is also available under 'sessionId' for convenient reference.

Examples

Example 1: Create a new browser session starting at a specific URL with video recording enabled and using an adblocker.

Set session initial URL, enable recording, and enable adblock in browser configuration; optionally configure proxy and integrations depending on requirements.

Discussion