返回排行榜

go-rod/rod

Gogo-rod.github.io

A Chrome DevTools Protocol driver for web automation and scraping.

cdpchrome-headlesschrome-devtoolschrome-devtools-protocolheadlessweb-scrapingautomationscraperdevtoolsdevtools-protocolrodgo
Star 增长趋势
Star
7k
Forks
476
周增长
Issues
181
2k4k6k
2020年2月2022年3月2024年5月2026年7月
制品库Go Modulesgo get github.com/go-rod/rod
README

Overview

Go Reference Discord Chat

Documentation | API reference | FAQ

Rod is a high-level driver directly based on DevTools Protocol. It's designed for web automation and scraping for both high-level and low-level use, senior developers can use the low-level packages and functions to easily customize or build up their own version of Rod, the high-level functions are just examples to build a default version of Rod.

中文 API 文档

Features

  • Chained context design, intuitive to timeout or cancel the long-running task
  • Auto-wait elements to be ready
  • Debugging friendly, auto input tracing, remote monitoring headless browser
  • Thread-safe for all operations
  • Automatically find or download browser
  • High-level helpers like WaitStable, WaitRequestIdle, HijackRequests, WaitDownload, etc
  • Two-step WaitEvent design, never miss an event (how it works)
  • Correctly handles nested iframes or shadow DOMs
  • No zombie browser process after the crash (how it works)
  • CI enforced 100% test coverage

Examples

Please check the examples_test.go file first, then check the examples folder.

For more detailed examples, please search the unit tests. Such as the usage of method HandleAuth, you can search all the *_test.go files that contain HandleAuth, for example, use GitHub online search in repository. You can also search the GitHub issues or discussions, a lot of usage examples are recorded there.

Here is a comparison of the examples between rod and Chromedp.

If you have questions, please raise an issues/discussions or join the chat room.

Join us

Your help is more than welcome! Even just open an issue to ask a question may greatly help others.

Please read How To Ask Questions The Smart Way before you ask questions.

If you want to contribute please read the Contributor Guide.

相关仓库
PostHog/posthog

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

PythonPyPIOtheranalyticspython
posthog.com
37.2k3.1k
lightpanda-io/browser

Lightpanda: the headless browser designed for AI and automation

ZigGNU Affero General Public License v3.0browsercdp
lightpanda.io
32.1k1.4k
h4ckf0r0day/obscura

The headless browser for AI agents and web scraping

Rustcrates.ioApache License 2.0antidetectantidetect-browser
obscura.sh
19.5k1.4k
browser-use/browser-harness

Browser Harness | Self-healing harness that enables LLMs to complete any task.

PythonPyPIMIT Licenseai-agentbrowser-agent
browser-harness.com
16.2k1.5k
pinchtab/pinchtab

High-performance browser automation bridge and multi-instance orchestrator with advanced stealth injection and real-time dashboard.

GoGo ModulesMIT Licensebrowser-automationcdp
9.4k702
autoscrape-labs/pydoll

Pydoll is a library for automating chromium-based browsers without a WebDriver, offering realistic interactions.

PythonPyPIMIT Licensecdpchromium
pydoll.tech
7k391
rudderlabs/rudder-server

Privacy and Security focused Segment-alternative, in Golang and React

GoGo ModulesOtherprivacywarehouse-management
rudderstack.com
4.5k57
pimcore/pimcore

Core Framework for the Open Core Data & Experience Management Platform (PIM, MDM, CDP, DAM, DXP/CMS & Digital Commerce)

PHPPackagistOtherpimcorecms
pimcore.com
3.8k1.5k
linuxfoundation/crowd.dev

LFX Community Data Platform (CDP)

TypeScriptnpmApache License 2.0communitycdp
lfx.linuxfoundation.org
3.4k730
CrowdDotDev/crowd.dev

LFX Community Management

TypeScriptnpmApache License 2.0communitycdp
lfx.linuxfoundation.org
3.3k741
zhizhuodemao/js-reverse-mcp

AI Agent-first JS 逆向 MCP Server:有头 Chrome 调试、断点、网络/WebSocket 分析、Patchright 反检测,可选 CloakBrowser。

TypeScriptnpmApache License 2.0anti-detectionbrowser-automation
2.3k301
Multiwoven/multiwoven

🔥🔥🔥 Open source Reverse ETL - alternative to hightouch and census.

RubyRubyGemsGNU Affero General Public License v3.0data-engineeringreverse-etl
aisquared.ai/enterprise/
1.7k92