Overview of Rod
mainRod is a high-level web automation and scraping driver for Go, built directly on the Chrome DevTools Protocol. It provides both high-level helpers for common tasks and low-level access for deep customization.
Key features include:
- Chained context design: Intuitive way to handle timeouts or cancellations for long-running tasks.
- Auto-waiting: Automatically waits for elements to be ready before interaction.
- Robustness: Handles nested iframes and Shadow DOMs correctly, and uses
leaklessto ensure no zombie browser processes remain after a crash. - Debugging: Supports auto input tracing and remote monitoring of headless browsers.
- Concurrency: All operations are thread-safe.
- Browser Management: Automatically finds or downloads the required browser via the
launcherpackage.