Skip to content

fix(browser): settle Playwright actions without page JavaScript - #180

Merged
tenequm merged 1 commit into
mainfrom
fix/playwright-settle-hang
Nov 7, 2026
Merged

tenequm merged 1 commit into
mainfrom
fix/playwright-settle-hang

Conversation

@tenequm

@tenequm tenequm commented Nov 7, 2026

Copy link
Copy Markdown
Member

Problem

With page JavaScript blocked, the bundled driver's in-page settle timer never completes. Evaluation and clicks that do not navigate can hang indefinitely. This is tracked by upstream issue #43752 and fixed by upstream PR #43767.

Change

Keep @playwright/cli at 0.1.23 and explicitly install playwright and playwright-core 1.65.0 inside its dependency tree. Both the CLI and cuttle's MCP child resolve the fixed core. Preserve browser-download suppression and check the new version pin against versions.env.

Drop this temporary dependency replacement once @playwright/cli ships a release depending on a fixed core.

Verification

Built the changed Docker driver stage for arm64 and layered it into the cached runtime. Against a local CSP-sandbox page with blocked timers, the old core timed out after 15 seconds for both evaluation and a non-navigating click. The fixed core returned 2 and completed the click without changing the URL. Confirmed a single deduplicated 1.65.0 core and successful MCP command startup. just check passed, including race-enabled tests.

Release notes

Fixed browser actions hanging when page JavaScript is blocked. The bundled driver now uses Playwright 1.65.0 for evaluation and clicks. Recreate your container with the updated image to use the fix.

Pin playwright and playwright-core to 1.65.0 inside the bundled CLI tree so
both the CLI and MCP child use the Node-side settle timer. Keep the CLI at
0.1.23 and enforce the core pin alongside the existing version drift check.

## Release notes
Fixed browser actions hanging when page JavaScript is blocked. The bundled driver now uses Playwright 1.65.0 for evaluation and clicks. Recreate your container with the updated image to use the fix.
@tenequm
tenequm merged commit d36053c into main Nov 7, 2026
23 of 25 checks passed
@tenequm
tenequm deleted the fix/playwright-settle-hang branch November 7, 2026 02:04
tenequm added a commit that referenced this pull request Nov 7, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.17.15](v0.17.14...v0.17.15)
(2026-11-07)


### Bug Fixes

* **browser:** settle Playwright actions without page JavaScript
([#180](#180))
([d36053c](d36053c))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
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.

1 participant