Skip to main content

Module browser

Module browser 

Source
Expand description

Browser automation via the spider-browser crate.

Re-exports the spider_browser public types and provides a Spider::browser constructor that creates a SpiderBrowser pre-configured with the client’s API key. The browser connects to Spider’s pre-warmed browser fleet over WebSocket (CDP/BiDi) and supports deterministic page control as well as AI-powered automation (act, observe, extract, agent).

Structs§

Agent
Autonomous multi-step agent.
AgentOptions
Options for the autonomous agent loop.
AgentResult
Result of an agent execution run.
BrowserOptions
Options for a SpiderBrowser created via Spider::browser.
LLMConfig
LLM configuration for AI methods.
ObserveResult
An observed interactive element on the page.
SpiderBrowser
SpiderBrowser — connects to Spider’s pre-warmed browser fleet.
SpiderBrowserOptions
Options for creating a SpiderBrowser instance.
SpiderPage
Browser tab abstraction with full automation API.

Enums§

LLMProviderKind
Supported LLM provider backends.