You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: playwright install doesn't seem to be checking for libgtk-4 #43747
playwright install. This will tell you to apt-get install some packages. The list doesn't include libgtk-4-1.
apt-get install the requested packages
run playwright install again. Now it complains about missing libraries (libgtk-4.so.1, libvulkan.so.1, ...), but doesn't tell you how to fix this.
libgtk-4.so.1 should be in libgtk-4-1, so run apt install libgtk-4-1
run playwright install again. Now it finds more missing dependencies and tells you to run apt-get install again
do this
run playwright install again. Now it completes successfully
Expected behavior
playwright install should notice that libgtk-4-1 is missing in step 3 and include it in the list of required dependencies.
Also, the dependencies found in step 7 should be already be requested in step 3.
And also, also 😄 playwright should probably tell the user to run playwright install again after installing the packages to check that everything is ok.
Actual behavior
playwright install doesn't notice that libgtk-4-1 is missing. Instead it prints a long list of missing libraries and lets the user figure out which package they have to install to fix it.
Hi, I'm the Playwright bot and I reproduced this on Ubuntu 24.04 x64.
Reproduced on current main, 1.65.0-next (ac44835d064d1e824ed1ba8b9f544f3493ec3dbe). Validation stops at the first failing browser, so Firefox's dependency warning hides WebKit's GTK 4 requirements. GTK 4 already has a package mapping, but missing mappings for Vulkan and Graphene cause WebKit to print only library names.
The proposed fix reports all failing browsers, adds the missing package mappings, and tells users to rerun installation after installing dependencies. For the current release, playwright install --with-deps installs the required packages, including GTK 4.
Verification
The existing all-browser installation test was extended to simulate missing GTK 3, GTK 4, Vulkan and Graphene. It failed before the fix and passed afterward. All 16 tests in the installation-command and dependency-validation specs passed, including normal launches of Chromium 157.0.8103.15, Firefox 158.0 and WebKit 27.2.
A separate isolated filesystem using the real system ldd reproduced the same two-stage warning without removing any packages from the runner. With the fix, one validation run lists both browsers' package instructions. Restoring the recommended libraries makes all browser dependency checks pass. The build and all required lint/type checks passed.
Testing was on Linux only, using 1.65.0-next; I did not separately test the reported 1.64.1 release.
Activity
github-actions commentedon Oct 29, 2026
github-actions commentedon Oct 29, 2026
Hi, I'm the Playwright bot and I reproduced this on Ubuntu 24.04 x64.
Reproduced on current main, 1.65.0-next (
ac44835d064d1e824ed1ba8b9f544f3493ec3dbe). Validation stops at the first failing browser, so Firefox's dependency warning hides WebKit's GTK 4 requirements. GTK 4 already has a package mapping, but missing mappings for Vulkan and Graphene cause WebKit to print only library names.The proposed fix reports all failing browsers, adds the missing package mappings, and tells users to rerun installation after installing dependencies. For the current release,
playwright install --with-depsinstalls the required packages, including GTK 4.Verification
The existing all-browser installation test was extended to simulate missing GTK 3, GTK 4, Vulkan and Graphene. It failed before the fix and passed afterward. All 16 tests in the installation-command and dependency-validation specs passed, including normal launches of Chromium 157.0.8103.15, Firefox 158.0 and WebKit 27.2.
A separate isolated filesystem using the real system
lddreproduced the same two-stage warning without removing any packages from the runner. With the fix, one validation run lists both browsers' package instructions. Restoring the recommended libraries makes all browser dependency checks pass. The build and all required lint/type checks passed.Testing was on Linux only, using 1.65.0-next; I did not separately test the reported 1.64.1 release.
Draft fix: #43750
Triaged on Linux by the Playwright bot - agent run
chore: mark v0.1.24 (#529)