Skip to content

SDKs Overview

rayobrowse provides official SDKs for Python and Node.js/TypeScript. Both work with local self-hosted instances and the cloud service.

The /connect endpoint works without any SDK — just pass a WebSocket URL to your CDP client. The SDKs are useful when you want:

  • Programmatic control over browser creation and lifecycle
  • Session reconnection
  • VNC URL retrieval
  • Typed error handling (auth, rate limits, concurrency)
  • Cloud mode integration (the SDK handles the HTTP handshake to get the direct CDP URL)
Feature/connect URLSDK
Create browserAutomatic on WebSocket connectExplicit connect_url() call
Close browserAutomatic on disconnectExplicit close() call
ReconnectNot supportedreconnect_url(session_id)
VNC URLNot returnedAvailable via last_vnc_url / vncUrl
Error handlingHTTP status codesTyped exceptions
Works withAny CDP client directlyAny CDP client (returns URL)