• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

playwright-community / playwright-go / 28250835416
79%

Build:
DEFAULT BRANCH: main
Ran 26 Jun 2026 04:33PM UTC
Jobs 9
Files 60
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

26 Jun 2026 04:21PM UTC coverage: 78.892% (-0.1%) from 78.994%
28250835416

push

github

web-flow
feat: assemble driver from npm + nodejs.org instead of deprecated CDN (#615)

The Playwright /builds/driver CDN is being deprecated (#593): new driver
versions will stop being uploaded and existing ones will be deleted. Rather
than downloading a prebuilt, fixed-layout zip from that CDN, assemble the
driver from two durable upstream sources, mirroring what the official
playwright-dotnet/python/java ports now do:

  - the platform-independent playwright-core package from the npm registry,
    extracted into <DriverDirectory>/package (contains cli.js); and
  - the matching per-platform Node.js binary from nodejs.org.

The on-disk layout is unchanged, so Run()/Command()/patchDriverBundle() and
the driver-up-to-date check keep working as before.

New environment variables:
  - PLAYWRIGHT_GO_NPM_REGISTRY: npm registry mirror (default registry.npmjs.org)
  - NODE_MIRROR: Node.js distribution mirror (default nodejs.org/dist)
  - PLAYWRIGHT_NODEJS_PATH (existing): when set, skip the Node.js download and
    use a preinstalled Node.js.

Also fixes the silent platform fallthrough behind #584: previously linux/arm
(and other unsupported GOARCH) mapped to the x64 build and failed at runtime
with a cryptic 'exec format error'. nodePlatformSuffix() now returns a clear,
actionable error pointing at PLAYWRIGHT_NODEJS_PATH for platforms without a
prebuilt Node.js binary (e.g. 32-bit ARM).

Extraction is hardened against path traversal (tar/zip slip) since the
registry/mirror hosts are configurable.

Refs #593, #584

123 of 177 new or added lines in 1 file covered. (69.49%)

6 existing lines in 1 file now uncovered.

8630 of 10939 relevant lines covered (78.89%)

6955.73 hits per line

Uncovered Changes

Lines Coverage ∆ File
54
70.0
-1.03% run.go

Coverage Regressions

Lines Coverage ∆ File
6
70.0
-1.03% run.go
Jobs
ID Job ID Ran Files Coverage
1 ubuntu-latest-firefox - 28250835416.1 26 Jun 2026 04:41PM UTC 60
77.11
GitHub Action Run
2 macos-latest-webkit - 28250835416.2 26 Jun 2026 04:53PM UTC 60
76.48
GitHub Action Run
3 macos-latest-chromium - 28250835416.3 26 Jun 2026 04:48PM UTC 60
78.54
GitHub Action Run
4 windows-latest-webkit - 28250835416.4 26 Jun 2026 04:33PM UTC 60
76.99
GitHub Action Run
5 ubuntu-latest-webkit - 28250835416.5 26 Jun 2026 04:38PM UTC 60
76.96
GitHub Action Run
6 macos-latest-firefox - 28250835416.6 26 Jun 2026 04:40PM UTC 60
77.19
GitHub Action Run
7 windows-latest-firefox - 28250835416.7 26 Jun 2026 04:41PM UTC 60
77.13
GitHub Action Run
8 windows-latest-chromium - 28250835416.8 26 Jun 2026 04:36PM UTC 60
78.54
GitHub Action Run
9 ubuntu-latest-chromium - 28250835416.9 26 Jun 2026 04:36PM UTC 60
78.58
GitHub Action Run
Source Files on build 28250835416
  • Tree
  • List 60
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 843d7452 on github
  • Prev Build on main (#28219874445)
  • Next Build on main (#28257693307)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc