Install
openclaw skills install podman-browserRun a headless Chromium browser via Podman to fetch text or HTML from JavaScript-rendered web pages using Playwright in a container.
openclaw skills install podman-browserHeadless browser automation using Podman + Playwright for scraping JavaScript-rendered pages.
Create a symlink for easy access:
chmod +x browse.js
ln -sf "$(pwd)/browse.js" ~/.local/bin/podman-browse
First run will pull the Playwright container image (~1.5GB).
podman-browse (or ./browse.js)Fetch a JavaScript-rendered page and return its text content.
podman-browse "https://example.com"
Options:
--html - Return raw HTML instead of text--wait <ms> - Wait for additional time after load (default: 2000ms)--selector <css> - Wait for specific element before capturing-h, --help - Show helpExamples:
# Get rendered text content from Hacker News
podman-browse "https://news.ycombinator.com"
# Get raw HTML
podman-browse --html "https://news.ycombinator.com"
# Wait for specific element
podman-browse --selector ".itemlist" "https://news.ycombinator.com"
# Extra wait time for slow pages
podman-browse --wait 5000 "https://news.ycombinator.com/newest"
Uses mcr.microsoft.com/playwright:v1.50.0-noble with playwright@1.50.0 npm package (versions must match).
browse.js - Self-contained Node.js CLI (handles args + spawns podman)SKILL.md - This documentation--ipc=host for Chromium stability--init to handle zombie processes