Skip to content

SDKs Overview

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

The /connect endpoint works without any SDK. Make an HTTP request, take the returned CDP WebSocket URL, and pass it 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 integration with the same local API shape
FeatureHTTP /connectSDK
Create browserGET /connect returns a CDP URLconnect_url() returns a CDP URL
Close browserAutomatic on disconnectExplicit close() call
ReconnectsessionId query parameterreconnect_url(session_id)
VNC URLx-vnc-url response headerAvailable via last_vnc_url / vncUrl
Error handlingHTTP status codesTyped exceptions
Works withAny CDP client directlyAny CDP client (returns URL)