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

Errors & Troubleshooting

Error codes, diagnostics, and common issues

Error Types

All Opensteer errors extend OpensteerProtocolError:

class OpensteerProtocolError extends Error {
  code: string;
  retriable: boolean;
  details?: Record<string, unknown>;
}

Action Failure Codes

CodeDescription
TARGET_NOT_FOUNDTarget element not found in DOM
TARGET_UNAVAILABLETarget element is not available
TARGET_STALETarget element reference is stale
TARGET_AMBIGUOUSMultiple elements match the target
NOT_VISIBLEElement is not visible
NOT_ENABLEDElement is not enabled/interactable
NOT_EDITABLEElement is not editable
INVALID_TARGETInvalid target specification
INVALID_OPTIONSInvalid action options
ACTION_TIMEOUTAction timed out

Protocol Error Codes

CodeDescription
invalid-requestMalformed request
invalid-argumentInvalid argument value
not-foundResource not found
timeoutOperation timed out
navigation-failedPage navigation failed
session-closedSession was closed
page-closedPage was closed
unsupported-operationOperation not supported
operation-failedOperation failed
internalInternal error

Cloud Error Codes

CodeDescription
CLOUD_AUTH_FAILEDInvalid or missing API key
CLOUD_SESSION_NOT_FOUNDSession expired or not found
CLOUD_SESSION_CLOSEDSession was closed
CLOUD_UNSUPPORTED_METHODMethod not available in cloud mode
CLOUD_CAPACITY_EXHAUSTEDNo capacity available
CLOUD_RATE_LIMITEDToo many requests
CLOUD_INVALID_REQUESTInvalid request to cloud API
CLOUD_ACTION_FAILEDCloud action execution failed
CLOUD_CONTRACT_MISMATCHSDK/cloud version mismatch
CLOUD_INTERNALInternal cloud error

Troubleshooting

"Target not found" errors (TARGET_NOT_FOUND)

  • Re-snapshot before every action after page changes
  • Verify the counter exists in the snapshot HTML
  • Use description for more resilient targeting

"Session closed" errors (session-closed)

  • Ensure --workspace is consistent across commands
  • Check opensteer status --workspace <id>
  • The session may have timed out — re-open it
  • Check the URL is accessible
  • Some sites block automated browsers — try with a persistent profile
  • Enable debug logging: OPENSTEER_DEBUG=true

Debug Mode

Enable verbose logging:

OPENSTEER_DEBUG=true npx opensteer open https://example.com --workspace demo

Common FAQ

Local vs Cloud mode? Local runs a browser on your machine. Cloud uses Opensteer Cloud's managed browsers. Use local for development, cloud for production/CI.

Counters changed between snapshots? Counters reset on every snapshot. Always use counters from the most recent snapshot.

Actions fail in headless mode? Some sites detect headless browsers. Try --browser persistent with a real profile, or set OPENSTEER_HEADLESS=false for debugging.

CI/non-interactive environments? Always pass explicit --workspace and --root-dir. Use --headless. Re-snapshot before every counter-based action.