# mxschmitt/playwright-go

Playwright for Go a browser automation library to control Chromium, Firefox and WebKit with a single API.

Repository: https://github.com/mxschmitt/playwright-go
Canonical: https://ross.abutalabs.com/products/playwright-go
Homepage: https://mxschmitt.github.io/playwright-go/
Language: Go
License: MIT
License Family: permissive
Topics: playwright, golang, selenium, browser-automation, chromium, hacktoberfest, go, headless, headless-chrome, firefox, webkit, automation
Last push: 2026-08-17T07:07:56+00:00

## Health v2 (maintenance only)
Score: 98/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 98, release rhythm 98, longevity 100
- inputs: {"age_days": 2208, "days_push": 16, "days_rel": 16, "gap_med": 27, "n_releases_24m": 16}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3481, forks 242 (observed 2026-08-28T04:08:06.890440+00:00)

## What it is
Playwright for Go is a Go library that automates Chromium, Firefox, and WebKit browsers through a single API, supporting both headless and headed execution. It is a community port of the Playwright browser automation tool, enabling cross-browser web automation, scraping, and end-to-end testing from Go code.

## Use cases
- automate a browser from Go code
- scrape dynamic web pages that require JavaScript rendering
- run end-to-end browser tests in Go
- take screenshots or generate PDFs of web pages
- fill forms and click through web flows programmatically
- test web apps across Chromium, Firefox, and WebKit

## When to choose
- you need browser automation in a Go project with a single cross-browser API
- you want a maintained Selenium alternative for Go with headless support
- you need to scrape or test JavaScript-heavy sites from Go

## When to avoid
- you are not using Go and want first-class Playwright support (use the official JavaScript, Python, Java, or .NET versions)
- you only need simple HTTP requests without a real browser
- you need the newest Playwright features immediately, since this port can lag behind upstream

## Facets
- artifact type: library
- maturity: active
- function: http-client, web-scraping, testing, e2e-testing, workflow-automation
- domain: web-development, testing, developer-tools, crawlers
- platform: windows, go, cross-platform, cli
- tags: browser-automation, playwright, headless-browser, selenium-alternative, chromium, firefox, webkit, scraping, automation, linux, macos

## Member repositories
- mxschmitt/playwright-go (main) score 98

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:06.890440+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:36:27.401215+00:00, confidence not recorded.
  - readme: https://github.com/mxschmitt/playwright-go (fetched 2026-08-28T04:08:06.890440+00:00, sha 64d6be598213)
  - homepage: https://mxschmitt.github.io/playwright-go/ (fetched 2026-08-29T09:30:17.624537+00:00, sha f0d47c7fbf12)
- Data as of 2026-08-30T08:39:29.467469+00:00.
