The browser-management resource currently uses the explicit V3 SDK namespace.
The equivalent REST endpoint is API V4.
from browser_use_sdk.v3 import BrowserUseclient = BrowserUse()browser = client.browsers.create(proxy_country_code="us")print(browser.cdp_url)# When finished:client.browsers.stop(browser.id)
import { BrowserUse } from "browser-use-sdk/v3";const client = new BrowserUse();const browser = await client.browsers.create({ proxyCountryCode: "us" });console.log(browser.cdpUrl);// When finished:await client.browsers.stop(browser.id);
browser.close(), disconnecting CDP, or client.close() does not stop the
managed browser. Use client.browsers.stop(browser.id) or call
PATCH /api/v4/browsers/{id} with {"action":"stop"}.
Connect over CDP
Use the CDP URL with Playwright or Puppeteer.
Browser settings
Configure proxies, screen size, recording, and timeout.
Was this page helpful?
Assistant
Responses are generated using AI and may contain mistakes.