Skip to content

Fix/upgrade playwright go v0.6100.0#1532

Open
danilodeLuca wants to merge 4 commits into
Versent:masterfrom
danilodeLuca:fix/upgrade-playwright-go-v0.6100.0
Open

Fix/upgrade playwright go v0.6100.0#1532
danilodeLuca wants to merge 4 commits into
Versent:masterfrom
danilodeLuca:fix/upgrade-playwright-go-v0.6100.0

Conversation

@danilodeLuca

Copy link
Copy Markdown

Issue: #1531

Problem
Versions of playwright-go before v0.6100.0 download the Playwright driver from playwright.azureedge.net/builds/driver/..., which Microsoft retired on 2026-07-08. That causes 404s on fresh installs — the same issue reported in antigravity-cli#566.

Changes made
Upgraded dependency from github.com/playwright-community/playwright-go v0.4702.0 → github.com/mxschmitt/playwright-go v0.6100.0

v0.6100.0 assembles the driver from npm (playwright-core) + nodejs.org instead of the deprecated CDN (playwright-go#615)
The module path moved from playwright-community to mxschmitt in this release

Updated imports in:

  • pkg/provider/browser/browser.go
  • pkg/provider/browser/browser_test.go
  • mocks/Page.go, mocks/Request.go, mocks/Response.go

Fixed API break — StorageState() now takes options instead of a plain path string:

browser.go
Lines 139-142
		_, err := context.StorageState(playwright.BrowserContextStorageStateOptions{
			Path: playwright.String(storageStatePath),
		})

Updated README link to the new module location.

danilodeLuca and others added 3 commits July 9, 2026 13:47
Microsoft retired Playwright driver zip distribution on all CDN endpoints,
breaking fresh installs for browser IDP users on playwright-go < v0.6100.0.

Co-authored-by: Cursor <cursoragent@cursor.com>
Comment thread go.mod Outdated
github.com/mitchellh/go-homedir v1.1.0
github.com/pkg/errors v0.9.1
github.com/playwright-community/playwright-go v0.4702.0
github.com/playwright-community/playwright-go v0.6000.0

@leonidasKap leonidasKap Jul 10, 2026

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

qq: the PR title mentions v0.6100.0 but this bumps to v0.6000.0

@danilodeLuca danilodeLuca Jul 10, 2026

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ohh my apologies,, it was done when trying to push it to use "playwright-community/playwright-go" module, which looks like that was moved to use a different module name

Updated with the new module name.

v0.6000.0 still uses the retired driver CDN; only v0.6100.0+
assembles the driver from npm + nodejs.org. That release requires
the mxschmitt module path.

Co-authored-by: Cursor <cursoragent@cursor.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants