Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

go-playwright

Skill by sickn33

Guides an AI assistant to write Go browser automation scripts with playwright-go, covering browser contexts, Zap logging, explicit timeouts and human-like input. Meant for developers who scrape, test or debug sites that need a real browser.

  • Score 90
  • 50k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install go-playwright

Built from the published package, never by AI.

git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.claude/skills && cp -r /tmp/agentic-awesome-skills/skills/go-playwright ~/.claude/skills/go-playwright

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install go-playwright in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

go-playwright is a skill that guides an AI assistant to write browser automation scripts in Go using github.com/playwright-community/playwright-go. It sets architecture rules, such as launching one Browser and creating a new BrowserContext for each task. It also asks for explicit timeouts, defer-based cleanup and panic recovery in automation routines.

Generated code uses Zap for structured logging instead of fmt.Println. The skill also describes human-like input techniques, including Bezier mouse movement, typing with random keystroke delays, and slight viewport randomization. According to the source, it is for scraping, testing and debugging websites that need a real browser. Automation should stay within the authorized site, account and action scope.

Written from the project's SKILL.md and checked against it.

What it can do

  • Browser and context architectureLaunches one Browser and creates a new BrowserContext for each distinct session or task.
  • Structured logging with ZapLogs navigations, clicks and inputs using go.uber.org/zap instead of fmt.Println.
  • Error handling and timeoutsUses defer for cleanup, panic recovery with stack traces, and explicit timeouts on operations.
  • Human-like mouse movementMoves the mouse along a Bezier curve with random jitter instead of teleporting it.
  • Human-like typingUses Type() with random 50ms to 200ms delays between keystrokes instead of Fill().
  • Viewport and User-Agent randomizationRandomizes viewport size slightly and rotates User-Agents for each new context.
  • Documentation lookupChecks the official API docs for the pinned playwright-go version before version-sensitive calls.

What you need

  • Go
  • Playwright drivers and browsers installed via the playwright-go install command

Try asking

  • Write a Go script with playwright-go that scrapes product titles from a React page.
  • Add zap logging and explicit timeouts to my existing playwright-go test.
  • Refactor my Go Playwright code to reuse one Browser and create a BrowserContext per task.

Good to know

  • Requires Playwright drivers and browsers to be installed.
  • Launching full browser instances consumes significant RAM and CPU.
  • Strict anti-bot systems may still detect automation.
  • Does not include built-in CAPTCHA solving.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/go-playwright/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md5 KB
  • resources/implementation-playbook.md3 KB

Alternatives to go-playwright

All alternatives →

Compare with antigravity-workflows, e2e-testing-patterns or upgrade-browser

go-playwright: common questions

Does go-playwright solve CAPTCHAs?

No. The source states that the skill does not include built-in CAPTCHA solving capabilities.

Can go-playwright bypass anti-bot systems?

It includes stealth and human-emulation techniques, but the source says strict anti-bot systems may still detect automation. It also says to use automation only within the authorized scope.

Which logging library does the generated code use?

The source says to use go.uber.org/zap exclusively and not fmt.Println, with development and production modes.

How do I install go-playwright?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is go-playwright free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is go-playwright safe to use?

It scores 90 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to go-playwright?

Similar skills: antigravity-workflows, e2e-testing-patterns, upgrade-browser, browser-automation.

go-playwright Install

Add to stack

Loading.