Agent Runtime
Status: Connected
Parsing documentation...
Extracted api references
Generating type definitions...
opensteeropensteer
Y Combinator logoBacked by Y Combinator.

The most comprehensive browser automation framework for AI

Enterprise-grade automation at scale.

Custom plans, unlimited concurrent sessions, dedicated proxies, and advanced support for teams that need more.

+ self-service sso
+ unlimited concurrent sessions
+ custom audit logs
+ advanced captcha bypass
+ dedicated support
view pricing

Simple, transparent pricing.

Start for free, upgrade when you need to scale. Everything you need to build robust AI agents.

Reference

SDK Methods

Complete SDK method reference

Construction

import { Opensteer } from "opensteer";

const os = new Opensteer({
  workspace: "demo",            // workspace identifier (required)
  rootDir: process.cwd(),       // root directory for .opensteer state
  browser: "persistent",        // "persistent" | "temporary" | "attach"
  launch: {
    headless: false,            // run headless
    attachEndpoint: undefined,  // CDP endpoint for attach mode
  },
  provider: { mode: "local" },  // "local" or "cloud"
});

Session Lifecycle

MethodDescription
open(url)Open browser and navigate to URL
goto(options)Navigate to URL. Options: { url, captureNetwork? }
close()Close the browser session
disconnect()Detach from session without closing browser
info()Get current session info (URL, title)

Snapshots

MethodDescription
snapshot(mode)Capture DOM snapshot. Mode: "action" or "extraction"

DOM Actions

MethodDescription
click(target)Click element. Target: { element?, description?, selector? }
input(target)Type into input. Target: { element?, description?, selector?, text, pressEnter?, clearFirst? }
hover(target)Hover over element
scroll(options)Scroll page/element. { direction, amount, element? }
select(target)Select dropdown option. { element?, description?, selector?, value }
uploadFile(target)Upload file. { element?, description?, selector?, filePath }
pressKey(options)Press keyboard key. { key }
type(options)Type text at focus. { text }

JavaScript Evaluation

MethodDescription
evaluate(options)Execute JavaScript in the page context
evaluateJson(options)Execute JS and parse result as JSON

Extraction

MethodDescription
extract(options)Extract data. { description, schema? }

Tabs

MethodDescription
listPages()List open pages/tabs
activatePage(options)Switch to a page by index or URL
newPage(options)Open a new page/tab
closePage(options)Close a page/tab
waitForPage(options)Wait for a new page to open

Cookies & Storage

MethodDescription
getCookies(filter?)Get cookies, optional filter by name/domain
getStorageSnapshot()Get localStorage, sessionStorage, IndexedDB snapshot

Network

MethodDescription
queryNetwork(options)Query captured traffic. { capture, tag?, includeBodies? }
tagNetwork(options)Tag a network record. { recordId, tags }
clearNetwork(options)Clear captured records

Request Plans & Recipes

MethodDescription
inferRequestPlan(options)Infer plan from captured record
writeRequestPlan(options)Write a request plan to registry
getRequestPlan(options)Get a request plan
listRequestPlans()List all request plans
request(key, params?)Execute a request plan
writeRecipe(options)Write a recipe
getRecipe(options)Get a recipe
listRecipes()List recipes
runRecipe(options)Run a recipe
writeAuthRecipe(options)Write an auth recipe
getAuthRecipe(options)Get an auth recipe
listAuthRecipes()List auth recipes
runAuthRecipe(options)Run an auth recipe

Instrumentation

MethodDescription
addInitScript(options)Inject script on page load. { script }
route(options)Intercept network requests. { urlPattern, handler }

Script Tools

MethodDescription
captureScripts(options)Capture page scripts. { persist? }
beautifyScript(options)Format/prettify a script
deobfuscateScript(options)Deobfuscate a script
sandboxScript(options)Run script in sandbox

Network Utilities

MethodDescription
minimizeNetwork(options)Strip unnecessary fields from a request
diffNetwork(options)Diff two network records
probeNetwork(options)Test a request with modifications

Reverse Engineering

MethodDescription
reverseDiscover(options)Discover API endpoints from traffic
reverseQuery(options)Query reverse engineering results

Computer Use

MethodDescription
computerExecute(options)Execute coordinate-based action (screenshot, click, type, scroll, etc.)

Browser Admin

MethodDescription
readArtifact(options)Read a stored artifact