Skip to content

fix: add libgtk-3-0t64 for Playwright Firefox support#29

Merged
megheaiulian merged 1 commit into
mainfrom
fix/add-firefox-playwright-deps
Mar 30, 2026
Merged

fix: add libgtk-3-0t64 for Playwright Firefox support#29
megheaiulian merged 1 commit into
mainfrom
fix/add-firefox-playwright-deps

Conversation

@cristinecula

Copy link
Copy Markdown
Contributor

Summary

  • Add libgtk-3-0t64 to the Playwright system dependencies in the base Dockerfile to enable Firefox browser testing.

Problem

Playwright Firefox fails to launch with:

XPCOMGlueLoad error for file .../libmozgtk.so:
libgtk-3.so.0: cannot open shared object file: No such file or directory
Couldn't load XPCOM.

The existing deps section only covered Chromium. Firefox additionally requires GTK3.

Change

Single line addition: libgtk-3-0t64 (the Ubuntu Noble t64 variant, consistent with the other libs already listed).

Playwright Firefox requires libgtk-3.so.0 which is provided by
libgtk-3-0t64 on Ubuntu Noble. Without it, Firefox fails to launch:

  libgtk-3.so.0: cannot open shared object file: No such file or directory
  Couldn't load XPCOM.
@cristinecula cristinecula self-assigned this Mar 30, 2026
@megheaiulian megheaiulian merged commit 0128b85 into main Mar 30, 2026
3 checks passed
@megheaiulian megheaiulian deleted the fix/add-firefox-playwright-deps branch March 30, 2026 11:24
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