Skip to main content

Python SDK for Open Browser Use.

Project description

Open Browser Use Python SDK

Python client for controlling a real Chrome profile through Open Browser Use. The package distribution is open-browser-use-sdk; the import module remains open_browser_use.

Installation

pip install open-browser-use-sdk

The SDK expects the open-browser-use CLI and Chrome extension to already be installed and connected:

open-browser-use ping
open-browser-use info

Usage

import json
from pathlib import Path

from open_browser_use import connect_open_browser_use

registry = json.loads(Path("/tmp/open-browser-use/active.json").read_text())

browser = connect_open_browser_use(
    socket_path=registry["socketPath"],
    session_id="python-sdk-example",
)

try:
    browser.client.name_session("Python SDK example - OBU")
    tab = browser.new_tab()
    tab.goto("https://example.com", wait_until="domcontentloaded")
    print(tab.title())
finally:
    browser.client.finalize_tabs([])
    browser.close()

Use OpenBrowserUseClient directly when you need raw Browser Use JSON-RPC or CDP methods.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

open_browser_use_sdk-0.1.34.tar.gz (5.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

open_browser_use_sdk-0.1.34-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

Details for the file open_browser_use_sdk-0.1.34.tar.gz.

File metadata

  • Download URL: open_browser_use_sdk-0.1.34.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for open_browser_use_sdk-0.1.34.tar.gz
Algorithm Hash digest
SHA256 a3de7e6bd786a855542ab1b37261d9f955bdf2dd904abd200f28b8dfa034b2a0
MD5 2aeeb35ff6d09b8873281e37c6c0fa4b
BLAKE2b-256 3ed619f8ade2a28f512fbb3471e418f98b9cfb954829f3620174109b5c2a791a

See more details on using hashes here.

Provenance

The following attestation bundles were made for open_browser_use_sdk-0.1.34.tar.gz:

Publisher: pypi-publish.yml on iFurySt/open-codex-browser-use

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file open_browser_use_sdk-0.1.34-py3-none-any.whl.

File metadata

File hashes

Hashes for open_browser_use_sdk-0.1.34-py3-none-any.whl
Algorithm Hash digest
SHA256 6804c7b0c1b6f48396772ec82e3ae1ed3f9dc5da24bbf496bad4a19d7048c561
MD5 ab6c3df62962a3746ac6f35fbdb3bf14
BLAKE2b-256 44864e5bd5acb56a6b37a0c26ea80503f7c0ae2c5564efc79e3fe9394c6e71cf

See more details on using hashes here.

Provenance

The following attestation bundles were made for open_browser_use_sdk-0.1.34-py3-none-any.whl:

Publisher: pypi-publish.yml on iFurySt/open-codex-browser-use

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page