Registry / testing / playwright-community-playwright-go

playwright-community-playwright-go

JSON →
library0.5700.1gogounverified

A library to automate Chromium, Firefox, and WebKit with a single API.

go get github.com/playwright-community/playwright-go
INSTALL
IMPORT
SIG · PLAYWRIGHT-COMMUNI
P
playwright-community-playwright-go
testinggov0.5700.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

playwright
github.com/playwright-community/playwright-go

Launch a browser, navigate to a page, and print its title.

pw, err := playwright.Run() if err != nil { panic(err) } browser, err := pw.Chromium.Launch() if err != nil { panic(err) } page, err := browser.NewPage() if err != nil { panic(err) } page.Goto("https://example.com") fmt.Println(page.Title())
Debug
Known issues
gotchaRequires browser binaries to be installed (e.g., via npx playwright install).
fix
Run 'npx playwright install' or set PLAYWRIGHT_BROWSERS_PATH.
affects: all
Upgrade
Version history
0.5700.1latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
playwright-community-playwright-go — go get playwright-community-playwright-go · libregistry