Skip to main content
The anchorbrowser package is generated directly from this API’s OpenAPI specification — every documented endpoint is available as a typed method.

Configuration

If you’re coming from the previous SDK, the client is now a shared, configurable instance instead of a class you construct:
ANCHORBROWSER_API_KEY is read from the environment automatically, so client.setConfig(...) is only needed if you set the key explicitly or override baseUrl. Methods take a single options object with path, query and body keys matching the operation, return the parsed response body, and throw on failures (non-2xx or network).

Resources

Playwright & agent helpers

The SDK also ships hand-written helpers: createBrowser() / connectBrowser() (Playwright over CDP) and agentTask() / agentBrowserTask() (AI agent execution with live step streaming). See the package README.