vibium
v26.3.18
Published
Browser automation for AI agents and humans
Maintainers
Readme
Vibium
Browser automation for AI agents and humans.
Installation
npm install vibiumThis automatically downloads Chrome for Testing on first install.
Quick Start
Async API
import { browser } from 'vibium'
import { writeFile } from 'fs/promises'
const bro = await browser.start()
const vibe = await bro.page()
await vibe.go('https://example.com')
const link = await vibe.find('a')
console.log(await link.text())
await link.click()
const screenshot = await vibe.screenshot()
await writeFile('screenshot.png', screenshot)
await bro.stop()Sync API
const { browser } = require('vibium/sync')
const { writeFileSync } = require('fs')
const bro = browser.start()
const vibe = bro.page()
vibe.go('https://example.com')
const link = vibe.find('a')
console.log(link.text())
link.click()
const screenshot = vibe.screenshot()
writeFileSync('screenshot.png', screenshot)
bro.stop()Environment Variables
| Variable | Description |
|----------|-------------|
| VIBIUM_SKIP_BROWSER_DOWNLOAD | Set to 1 to skip Chrome download on install |
Requirements
- Node.js 18+
Links
License
Apache-2.0
