microsoft / playwright

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
https://playwright.dev
Apache License 2.0
67.13k stars 3.69k forks source link

[Bug]: Webkit breaks on alert/confirm dialog on Windows #33304

Open Eccenux opened 4 weeks ago

Eccenux commented 4 weeks ago

Version

Webkit 18.0 (playwright build v2083)

Steps to reproduce

Steps:

  1. Run: npx playwright wk https://ukdemo.lib.mol.pl/
  2. Press button that requires confirmation: Clearing cache.

Expected behavior

Expected to see confirmation like this:

Do you want to clear the cache? ... [OK] [Cancel]

Actual behavior

No reaction. The confirm() dialog is not shown. Develop → Show Web Inspector doesn't work either.

Additional context

No response

Environment

System: OS: Windows 11 10.0.22631 CPU: (20) x64 12th Gen Intel(R) Core(TM) i7-12700KF Memory: 16.82 GB / 31.85 GB Binaries: Node: 20.16.0 - C:\Program Files\nodejs\node.EXE npm: 10.8.1 - C:\Program Files\nodejs\npm.CMD

mxschmitt commented 3 weeks ago

Investigation: As of today we don't expose any alert/confirm/prompt handlers to the UI - you can handle them via Playwright tho: https://playwright.dev/docs/dialogs