devtools

Playwright-go: Automate Browsers

Control Chromium, Firefox and WebKit with a single API, for founders and developers, with 3.4k+ GitHub stars

From the repo · “Playwright for Go a browser automation library to control Chromium, Firefox and WebKit with a single API.”

3,526 stars+6★ this week248 forksGoGuide quality 9/10 · reviewed Jul 2Updated 9/14/2026100% free · open source
What it does

Playwright-go is a browser automation library that allows you to control Chromium, Firefox, and WebKit with a single API, enabling automated browsing and testing across multiple browsers.

When to use it
  • •When you need to automate web browsing for data scraping or monitoring
  • •When you want to write end-to-end tests for your web application across multiple browsers
  • •When you need to generate screenshots or PDFs of web pages programmatically
Ready-to-paste prompt
page, err := context.NewPage(); page.Goto("https://example.com"); page.Click("text=Login"); page.Fill("input[name="username"]", "your_username"); page.Fill("input[name="password"]", "your_password"); page.Click("text=Submit")
Heads up: Make sure you have the required browser binaries installed on your system, as playwright-go will not download them automatically; you can use the `playwright.BinaryDownloadURL` variable to specify the download URL
Saves to your device
Use with Claude
New

Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.

🛠️ Technical setup

Expect 20–40 minutes in a terminal — or let your AI agent drive it.

Try it instantly — no install
Claude Code
mkdir -p ~/.claude/skills/playwright-go && curl -fsSL https://workflowstacks.com/api/skills/playwright-go/claude-skill -o ~/.claude/skills/playwright-go/SKILL.md
Open in another AI app

Opens the app with this repo with the prompt ready to go — no copy-paste needed.

Connect the whole catalog (MCP)
claude mcp add --transport http workflowstacks https://workflowstacks.com/api/mcp

Adds a WorkflowStacks connector to Claude Code: search and load any skill here by chatting.

How Playwright-go: Automate Browsers works
Codeflow
Free to inspect

Playwright-go: Automate Browsers is a medium Go project (~15k lines across 102 code files, plus 72 test files). Expect some technical setup — comfortable with a terminal, or ask a developer. Last commit this month, MIT license, has a test suite.

Size
Medium codebase
~15k lines · 102 code files · ~2 h to skim
Setup
Some technical setup
Comfortable with a terminal? 20–40 min. Otherwise ask a dev.
Runs on
Go
No API keys detected
Go 96%HTML 3%Shell 1%
Where to start reading
  1. 1
    README.md
    Start here — what it does and how to install it
  2. 2
    CLAUDE.md
    The instructions the AI actually follows
  3. 3
    run.go
    Where the program starts running
  4. 4
    go.mod
    Dependencies and the commands it exposes
  5. 5
    internal/safe/map.go
    Inside internal/ — the main logic begins here
What's in each folder
internal/Core code — the actual logic1 files
cmd/Command-line entry points1 files
examples/Examples you can copy11 files
docs/Documentation2 files
scripts/Helper scripts5 files
patches/Patches1 files
tests/Tests — proof it works244 files
.claude/Editor / agent settings7 files
READMEHas testsDocumentedCI checksExamples includedMIT licenseUpdated this month
Quick Actions
Details
Creator
playwright-community
Language
Go
Category
devtools
Published
8/16/2020

Are you the creator of this tool? and earn 85% of every sale.

Show it off in your README:

Featured on WorkflowStacks
[![Featured on WorkflowStacks](https://workflowstacks.com/api/badge/playwright-go.svg)](https://workflowstacks.com/skills/playwright-go?utm_source=github&utm_medium=badge)
🔥 Hot this week, in your inbox
Skills like this, every Monday.

The five fastest-growing open-source AI skills, ranked by GitHub star growth. One email a week, unsubscribe anytime.

Do this with a working workflow

Pages we wrote and tested that put a skill like this to work — importable n8n templates, outcome guides and Claude Desktop configs.