obul-browserbase

star 0

USE THIS SKILL WHEN: the user needs headless browser automation, wants to launch a remote browser session for Playwright or Puppeteer, or needs full JavaScript execution in a cloud browser. Provides pay-per-use browser sessions via Browserbase through the Obul proxy.

polymerdao By polymerdao schedule Updated 3/6/2026

name: obul-browserbase description: "USE THIS SKILL WHEN: the user needs headless browser automation, wants to launch a remote browser session for Playwright or Puppeteer, or needs full JavaScript execution in a cloud browser. Provides pay-per-use browser sessions via Browserbase through the Obul proxy." homepage: https://www.browserbase.com metadata: obul-skill: emoji: "๐ŸŒ"

registries: {}

Browserbase

Browserbase provides pay-per-use headless browser sessions with full Chromium capabilities โ€” navigation, DOM access, screenshots, cookies, storage, and more. Through the Obul proxy, each session is paid individually via x402 โ€” no Browserbase account or API key required. Sessions return a WebSocket URL you can connect to with Playwright or Puppeteer for full browser automation.

Authentication

All requests use the obulx CLI, which handles proxy routing and authentication automatically.

Install and log in (one-time setup):

npm install -g @obul.ai/obulx
obulx login

Base URL: https://x402.browserbase.com

Common Operations

Create a Browser Session

Launch a new headless Chromium browser session. Returns a WebSocket URL you can connect to with Playwright or Puppeteer for full browser automation including navigation, clicking, typing, and screenshots.

Pricing: $0.01 (5-minute session)

obulx -X POST -H "Content-Type: application/json" \
  -d '{}' \
  "https://x402.browserbase.com/browser/session/create"

Response: JSON object containing a wsUrl field with the WebSocket endpoint to connect your Playwright or Puppeteer client. The session is live and ready for browser automation immediately.

Check Session Status

Check the current state of an active browser session. Useful for monitoring long-running automation tasks or verifying a session is still alive before reconnecting.

Pricing: $0.0001

obulx "https://x402.browserbase.com/browser/session/{id}/status"

Response: JSON object with the session's current status, including whether it is active, idle, or terminated, and the remaining time before expiration.

Extend a Session

Add more time to an existing browser session before it expires. Useful for long-running automation workflows that need more than the default 5-minute window.

Pricing: $0.01 per additional 5 minutes

obulx -X POST -H "Content-Type: application/json" \
  -d '{}' \
  "https://x402.browserbase.com/browser/session/{id}/extend"

Response: JSON object confirming the session has been extended, with the new expiration time.

Terminate a Session

Close and terminate a browser session when you are done. This releases resources and stops further billing.

Pricing: $0.0001

obulx -X DELETE "https://x402.browserbase.com/browser/session/{id}"

Response: JSON object confirming the session has been terminated.

Endpoint Pricing Reference

Endpoint Price Purpose
POST /browser/session/create $0.01 Create a new 5-minute browser session
GET /browser/session/:id/status $0.0001 Check session status
POST /browser/session/:id/extend $0.01 per 5 min Extend an active session
DELETE /browser/session/:id $0.0001 Terminate a session

When to Use

  • JavaScript-heavy pages โ€” When you need to scrape or interact with pages that require full JS execution, SPAs, or dynamic content that simple HTTP requests cannot handle.
  • Browser automation โ€” Automate form submissions, multi-step workflows, login flows, or any task that needs a real browser environment.
  • Screenshot capture โ€” Take screenshots of web pages as they appear in a real browser, including after JavaScript rendering.
  • Testing and verification โ€” Verify that a web page renders correctly, test user flows, or validate UI behavior in a real browser.
  • Agent browsing โ€” Give AI agents full browser capabilities to navigate the web, interact with pages, and complete tasks that require clicking, typing, and reading rendered content.

Best Practices

  • Terminate sessions when done โ€” Always call DELETE /browser/session/:id when your automation is complete to avoid unnecessary charges from idle sessions.
  • Use status checks sparingly โ€” Poll session status only when needed. Avoid tight polling loops.
  • Start with short sessions โ€” Create a 5-minute session first. Only extend if your workflow genuinely needs more time.
  • Prefer scraping tools for simple pages โ€” If you only need the text content of a page and it does not require JavaScript rendering, use Firecrawl or Minifetch instead. Browserbase is best when you need full browser interaction.
  • Connect quickly โ€” The WebSocket URL is available immediately after session creation. Connect your Playwright or Puppeteer client promptly to maximize your session time.

Error Handling

Error Cause Solution
402 Payment Required Payment not processed or insufficient Verify your account has sufficient balance at my.obul.ai. Run obulx login if not authenticated.
400 Bad Request Invalid request format Check the request body and URL format. Ensure the session ID is valid for status/extend.
404 Not Found Session ID does not exist Verify the session ID. The session may have already expired or been terminated.
408 Request Timeout Session creation timed out Retry the request. The service may be under heavy load.
429 Too Many Requests Rate limit exceeded Add a short delay between requests. Avoid creating many sessions simultaneously.
500 Internal Server Error Upstream Browserbase service issue Wait a few seconds and retry. If persistent, the service may be experiencing downtime.
Install via CLI
npx skills add https://github.com/polymerdao/pay-plugin --skill obul-browserbase
Repository Details
star Stars 0
call_split Forks 1
navigation Branch main
article Path SKILL.md
More from Creator