Skip to content

Chromedp

Category: Classic

Free / Paid: Free and open source (MIT License)

Official link: https://github.com/chromedp/chromedp

Package docs: https://pkg.go.dev/github.com/chromedp/chromedp

Current version: v0.15.1 (released March 23, 2026)


What is chromedp?

Chromedp is a Go library that provides a faster, simpler way to drive browsers supporting the Chrome DevTools Protocol (CDP) without external dependencies. It implements the async Chrome DevTools Protocol entirely in Go, making it a native solution for browser automation in Go programs.

Key features

  • No third-party dependencies beyond the Go standard library
  • Supports headless and headful Chrome/Chromium
  • Enables scraping, automated testing, and profiling of web pages
  • Connect to remote Chrome instances via RemoteAllocator
  • PDF capture, file downloads, form submission, screenshot capture, JavaScript evaluation, and more
  • Device emulation (mobile, tablet)
  • Cookie and header management
  • Proxy authentication support

When to use chromedp

Use chromedp when your automation stack is Go-based and you need a lightweight, dependency-free way to control a Chrome or Chromium browser. It is a solid choice for teams already working in Go who do not want to introduce Node.js or Python runtimes.

For multi-language teams or agentic AI workflows, Steel, Browserbase, or Playwright may be more appropriate.

Examples repository

The official chromedp/examples repository contains 24 runnable example programs covering click, cookies, file downloads, form submission, screenshots, PDF capture, JavaScript evaluation, proxy authentication, remote Chrome connections, and more.