[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-10816":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":23,"hasPages":23,"topics":25,"createdAt":10,"pushedAt":10,"updatedAt":42,"readmeContent":43,"aiSummary":44,"trendingCount":16,"starSnapshotCount":16,"syncStatus":45,"lastSyncTime":46,"discoverSource":47},10816,"rod","go-rod\u002Frod","go-rod","A Chrome DevTools Protocol driver for web automation and scraping.","https:\u002F\u002Fgo-rod.github.io",null,"Go",6962,468,51,180,0,1,12,61,4,78.11,"MIT License",false,"main",[26,27,28,29,30,31,32,33,34,35,36,37,5,38,39,40,41],"automation","cdp","chrome-devtools","chrome-devtools-protocol","chrome-headless","crawling","devtools","devtools-protocol","go","golang","gorod","headless","scraper","testing","web","web-scraping","2026-06-12 04:00:52","# Overview\n\n[![Go Reference](https:\u002F\u002Fpkg.go.dev\u002Fbadge\u002Fgithub.com\u002Fgo-rod\u002Frod.svg)](https:\u002F\u002Fpkg.go.dev\u002Fgithub.com\u002Fgo-rod\u002Frod)\n[![Discord Chat](https:\u002F\u002Fimg.shields.io\u002Fdiscord\u002F719933559456006165.svg)][discord room]\n\n## [Documentation](https:\u002F\u002Fgo-rod.github.io\u002F) | [API reference](https:\u002F\u002Fpkg.go.dev\u002Fgithub.com\u002Fgo-rod\u002Frod?tab=doc) | [FAQ](https:\u002F\u002Fgo-rod.github.io\u002F#\u002Ffaq\u002FREADME)\n\nRod is a high-level driver directly based on [DevTools Protocol](https:\u002F\u002Fchromedevtools.github.io\u002Fdevtools-protocol).\nIt'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\ncustomize or build up their own version of Rod, the high-level functions are just examples to build a default version of Rod.\n\n[中文 API 文档](https:\u002F\u002Fpkg.go.dev\u002Fgithub.com\u002Fgo-rod\u002Fgo-rod-chinese)\n\n## Features\n\n- Chained context design, intuitive to timeout or cancel the long-running task\n- Auto-wait elements to be ready\n- Debugging friendly, auto input tracing, remote monitoring headless browser\n- Thread-safe for all operations\n- Automatically find or download [browser](lib\u002Flauncher)\n- High-level helpers like WaitStable, WaitRequestIdle, HijackRequests, WaitDownload, etc\n- Two-step WaitEvent design, never miss an event ([how it works](https:\u002F\u002Fgithub.com\u002Fysmood\u002Fgoob))\n- Correctly handles nested iframes or shadow DOMs\n- No zombie browser process after the crash ([how it works](https:\u002F\u002Fgithub.com\u002Fysmood\u002Fleakless))\n- [CI](https:\u002F\u002Fgithub.com\u002Fgo-rod\u002Frod\u002Factions) enforced 100% test coverage\n\n## Examples\n\nPlease check the [examples_test.go](examples_test.go) file first, then check the [examples](lib\u002Fexamples) folder.\n\nFor more detailed examples, please search the unit tests.\nSuch as the usage of method `HandleAuth`, you can search all the `*_test.go` files that contain `HandleAuth`,\nfor example, use GitHub online [search in repository](https:\u002F\u002Fgithub.com\u002Fgo-rod\u002Frod\u002Fsearch?q=HandleAuth&unscoped_q=HandleAuth).\nYou can also search the GitHub [issues](https:\u002F\u002Fgithub.com\u002Fgo-rod\u002Frod\u002Fissues) or [discussions](https:\u002F\u002Fgithub.com\u002Fgo-rod\u002Frod\u002Fdiscussions),\na lot of usage examples are recorded there.\n\n[Here is a comparison](lib\u002Fexamples\u002Fcompare-chromedp) of the examples between rod and Chromedp.\n\nIf you have questions, please raise an [issues](https:\u002F\u002Fgithub.com\u002Fgo-rod\u002Frod\u002Fissues)\u002F[discussions](https:\u002F\u002Fgithub.com\u002Fgo-rod\u002Frod\u002Fdiscussions) or join the [chat room][discord room].\n\n## Sponsors\n\nRod is sponsored by many organizations and individuals, thank you for your support!\n\nPlease contact [yad@ysmood.org](mailto:yad@ysmood.org) if you want to be listed here.\n\n\u003C!-- markdownlint-disable MD033 -->\n\n\u003Ctable style=\"border-collapse: collapse\">\n  \u003Ctr>\n    \u003Ctd>\n      \u003Cp>Browser testing via\u003C\u002Fp>\n      \u003Ca href=\"https:\u002F\u002Fwww.testmuai.com\u002F?utm_medium=sponsor&utm_source=go-rod\" target=\"_blank\">\n        \u003Cimg\n          src=\"https:\u002F\u002Fgithub.com\u002Fuser-attachments\u002Fassets\u002F3efebe85-726b-49f1-b4c9-7c0103b192f3\"\n          alt=\"TestMu AI Logo\"\n          height=\"90\"\n        \u002F>\n      \u003C\u002Fa>\n    \u003C\u002Ftd>\n  \u003C\u002Ftr>\n\u003C\u002Ftable>\n\n\u003C!-- markdownlint-enable MD033 -->\n\n## Join us\n\nYour help is more than welcome! Even just open an issue to ask a question may greatly help others.\n\nPlease read [How To Ask Questions The Smart Way](http:\u002F\u002Fwww.catb.org\u002F~esr\u002Ffaqs\u002Fsmart-questions.html) before you ask questions.\n\nIf you want to contribute please read the [Contributor Guide](.github\u002FCONTRIBUTING.md).\n\n[discord room]: https:\u002F\u002Fdiscord.gg\u002FCpevuvY\n","go-rod\u002Frod 是一个基于 Chrome DevTools Protocol 的驱动程序，专为网页自动化和数据抓取设计。它支持链式上下文设计，自动等待元素就绪，并提供友好的调试功能如自动输入跟踪和远程监控无头浏览器。此外，该项目具备线程安全特性，能够自动查找或下载浏览器，并提供了一系列高级辅助函数，例如 WaitStable 和 WaitRequestIdle 等。Rod 适用于需要进行复杂网页操作的场景，包括但不限于自动化测试、数据抓取以及通过无头浏览器执行任务的情况。",2,"2026-06-11 03:30:18","top_topic"]