Skip to main content

Browser automation for AI agents and humans

Project description

Vibium

Browser automation for AI agents and humans.

Installation

pip install vibium

Chrome downloads automatically on first use. To install Chrome ahead of time:

vibium install

Quick Start

from vibium import browser

bro = browser.start()
vibe = bro.page()
vibe.go("https://example.com")

# Take a screenshot
png = vibe.screenshot()
with open("screenshot.png", "wb") as f:
    f.write(png)

# Find and click a link
link = vibe.find("a")
print(link.text())
link.click()

bro.stop()

Async API

import asyncio
from vibium.async_api import browser

async def main():
    bro = await browser.start()
    vibe = await bro.page()
    await vibe.go("https://example.com")

    link = await vibe.find("a")
    await link.click()

    await bro.stop()

asyncio.run(main())

CLI

vibium install   # Download Chrome for Testing
vibium version   # Show version

Requirements

  • Python 3.9+

Links

License

Apache-2.0

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

vibium-26.5.31-py3-none-any.whl (48.4 kB view details)

Uploaded Python 3

File details

Details for the file vibium-26.5.31-py3-none-any.whl.

File metadata

  • Download URL: vibium-26.5.31-py3-none-any.whl
  • Upload date:
  • Size: 48.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for vibium-26.5.31-py3-none-any.whl
Algorithm Hash digest
SHA256 5ee480ba92d26f0f50994660250929c91342a3578b92c81d78028f8ec9cf833e
MD5 50767aefe3fb73a6af974101258366fc
BLAKE2b-256 2deb8e20ea62231016c24e83a5744fbb37affcaded599c83baca897dd96f22fe

See more details on using hashes here.

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