Headless Chrome automation for web browsing, form filling, and screenshots. Requires the browser feature.
browser
cargo build --release --features browser
[browser] enabled = true headless = true screenshot_width = 1280 screenshot_height = 720 user_data_dir = "~/Library/Application Support/Google/Chrome" profile = "Default"
navigate
url
screenshot
selector?
click
selector
fill
selector, value
get_text
get_attribute
selector, attr
wait_for_selector
selector, timeout_ms
Setting user_data_dir and profile lets the browser inherit an existing Chrome session — cookies, login state, and extensions. This allows the agent to interact with authenticated sites.
user_data_dir
profile
Screenshots are captured as PNG and sent to the user via Telegram as photo messages with captions describing the page content.