Description
Rod is a high-level Go driver for the Chrome DevTools Protocol, built for browser automation and scraping. Developers can use its high-level functions, which are examples of a default setup, or drop down to its low-level packages to build their own version. Its design centres on chained contexts, so you can set timeouts or cancel long-running tasks in an intuitive way. Elements are waited on automatically until they are ready, and there are helpers such as WaitStable, WaitRequestIdle, HijackRequests and WaitDownload. The README says it handles nested iframes and shadow DOMs correctly, and that all operations are thread-safe. It can find or download a browser automatically, provides input tracing and remote monitoring of a headless browser for debugging, and avoids leaving zombie browser processes after a crash. The project says its two-step event wait design means it does not miss events, and that CI enforces 100 percent test coverage. Examples live in the examples_test.go file and in the unit tests, and the README compares its examples with Chromedp. The project is on GitHub and has a Discord room for questions. The README also says it is sponsored by several organisations and individuals.…
Highlights
- Chained contexts with timeouts and cancel
- Auto-waits for elements to be ready
- Finds or downloads a browser automatically
- Handles iframes and shadow DOMs
- CI enforces 100 percent test coverage
Ratings & Reviews
No ratings yet
Be the first to rate Rod.
People also visit
Undetected Chromedriver
Custom Selenium Chromedriver | Zero-Config | Passes ALL bot mitigation…
Rod FAQ
What is Rod?
A Go library that drives Chrome through the DevTools Protocol, for browser automation and scraping.
Who is it for?
Go developers who need to control a browser from code, and who want either a ready-made default or low-level building blocks.
Does it need Chrome installed?
No. The README says Rod can find a browser or download one automatically.
Where are the examples?
In the examples_test.go file and the examples folder, and in the unit tests, which show usage such as HandleAuth.
How does it compare to Chromedp?
The README includes a comparison of examples between Rod and Chromedp.
Where can I ask questions?
Open an issue or discussion on GitHub, or join the chat room linked from the README.
What are the best Rod alternatives?
Popular alternatives to Rod include browserless.js.org, Puppeteer and Thirtyfour. See all Rod alternatives











