Browse Web

Use Rodney to control Ben’s personal Chrome profile on beryllium for browsing that needs existing cookies, sessions, and logins.

Purpose and scope

Setup (one-time on beryllium)

  1. Install Rodney:
uv tool install rodney
  1. Verify installation:
rodney --help
  1. Ensure Ben’s Chrome is available and using the expected profile.

Process

  1. Check if browser automation is needed - Prefer curl for static pages.
  2. Use Rodney (personal profile) - Do not use DevBrowser for personal browsing.
  3. Navigate and wait - Open URLs and wait for page content to load.
  4. Interact as needed - Click, fill, scroll, and extract visible content.
  5. Capture screenshot - Save an image for evidence or status updates.
  6. Relay to Ben - Send screenshot via send_photo in Telegram.

Example: open page and screenshot

python3 - << 'PY'
import asyncio
from rodney import Browser

async def main() -> None:
    browser = Browser(headless=True)
    page = await browser.new_page()
    await page.goto("https://example.com")
    await page.screenshot(path="_/tmp/personal-browser-example.png", full_page=True)
    await browser.close()

asyncio.run(main())
PY

Example: send screenshot to Ben on Telegram

Use the Telegram tool after creating the screenshot file:

send_photo chat_id=<ben-chat-id> photo="_/tmp/personal-browser-example.png" caption="Page snapshot"

Notes