From 863dafa99d818a2ee7a5a492b11088b5e49d5a08 Mon Sep 17 00:00:00 2001 From: Max Schmitt Date: Thu, 2 Jun 2022 18:03:28 +0200 Subject: [PATCH 1/3] chore: add ubuntu 22 to registry --- .../playwright-core/src/server/registry/index.ts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/packages/playwright-core/src/server/registry/index.ts b/packages/playwright-core/src/server/registry/index.ts index 7100e1dde47ba..2a6cf77b90bbf 100644 --- a/packages/playwright-core/src/server/registry/index.ts +++ b/packages/playwright-core/src/server/registry/index.ts @@ -66,8 +66,10 @@ const DOWNLOAD_PATHS = { 'generic-linux-arm64': 'builds/chromium/%s/chromium-linux-arm64.zip', 'ubuntu18.04': 'builds/chromium/%s/chromium-linux.zip', 'ubuntu20.04': 'builds/chromium/%s/chromium-linux.zip', + 'ubuntu22.04': 'builds/chromium/%s/chromium-linux.zip', 'ubuntu18.04-arm64': 'builds/chromium/%s/chromium-linux-arm64.zip', 'ubuntu20.04-arm64': 'builds/chromium/%s/chromium-linux-arm64.zip', + 'ubuntu22.04-arm64': 'builds/chromium/%s/chromium-linux-arm64.zip', 'mac10.13': 'builds/chromium/%s/chromium-mac.zip', 'mac10.14': 'builds/chromium/%s/chromium-mac.zip', 'mac10.15': 'builds/chromium/%s/chromium-mac.zip', @@ -83,8 +85,10 @@ const DOWNLOAD_PATHS = { 'generic-linux-arm64': 'builds/chromium-tip-of-tree/%s/chromium-tip-of-tree-linux-arm64.zip', 'ubuntu18.04': 'builds/chromium-tip-of-tree/%s/chromium-tip-of-tree-linux.zip', 'ubuntu20.04': 'builds/chromium-tip-of-tree/%s/chromium-tip-of-tree-linux.zip', + 'ubuntu22.04': 'builds/chromium-tip-of-tree/%s/chromium-tip-of-tree-linux.zip', 'ubuntu18.04-arm64': 'builds/chromium-tip-of-tree/%s/chromium-tip-of-tree-linux-arm64.zip', 'ubuntu20.04-arm64': 'builds/chromium-tip-of-tree/%s/chromium-tip-of-tree-linux-arm64.zip', + 'ubuntu22.04-arm64': 'builds/chromium-tip-of-tree/%s/chromium-tip-of-tree-linux-arm64.zip', 'mac10.13': 'builds/chromium-tip-of-tree/%s/chromium-tip-of-tree-mac.zip', 'mac10.14': 'builds/chromium-tip-of-tree/%s/chromium-tip-of-tree-mac.zip', 'mac10.15': 'builds/chromium-tip-of-tree/%s/chromium-tip-of-tree-mac.zip', @@ -100,8 +104,10 @@ const DOWNLOAD_PATHS = { 'generic-linux-arm64': 'builds/chromium/%s/chromium-with-symbols-linux-arm64.zip', 'ubuntu18.04': 'builds/chromium/%s/chromium-with-symbols-linux.zip', 'ubuntu20.04': 'builds/chromium/%s/chromium-with-symbols-linux.zip', + 'ubuntu22.04': 'builds/chromium/%s/chromium-with-symbols-linux.zip', 'ubuntu18.04-arm64': 'builds/chromium/%s/chromium-with-symbols-linux-arm64.zip', 'ubuntu20.04-arm64': 'builds/chromium/%s/chromium-with-symbols-linux-arm64.zip', + 'ubuntu22.04-arm64': 'builds/chromium/%s/chromium-with-symbols-linux-arm64.zip', 'mac10.13': 'builds/chromium/%s/chromium-with-symbols-mac.zip', 'mac10.14': 'builds/chromium/%s/chromium-with-symbols-mac.zip', 'mac10.15': 'builds/chromium/%s/chromium-with-symbols-mac.zip', @@ -117,8 +123,10 @@ const DOWNLOAD_PATHS = { 'generic-linux-arm64': 'builds/firefox/%s/firefox-ubuntu-20.04-arm64.zip', 'ubuntu18.04': 'builds/firefox/%s/firefox-ubuntu-18.04.zip', 'ubuntu20.04': 'builds/firefox/%s/firefox-ubuntu-20.04.zip', + 'ubuntu22.04': 'builds/firefox/%s/firefox-ubuntu-22.04.zip', 'ubuntu18.04-arm64': undefined, 'ubuntu20.04-arm64': 'builds/firefox/%s/firefox-ubuntu-20.04-arm64.zip', + 'ubuntu22.04-arm64': 'builds/firefox/%s/firefox-ubuntu-22.04-arm64.zip', 'mac10.13': 'builds/firefox/%s/firefox-mac-11.zip', 'mac10.14': 'builds/firefox/%s/firefox-mac-11.zip', 'mac10.15': 'builds/firefox/%s/firefox-mac-11.zip', @@ -134,8 +142,10 @@ const DOWNLOAD_PATHS = { 'generic-linux-arm64': undefined, 'ubuntu18.04': 'builds/firefox-beta/%s/firefox-beta-ubuntu-18.04.zip', 'ubuntu20.04': 'builds/firefox-beta/%s/firefox-beta-ubuntu-20.04.zip', + 'ubuntu22.04': 'builds/firefox-beta/%s/firefox-beta-ubuntu-22.04.zip', 'ubuntu18.04-arm64': undefined, 'ubuntu20.04-arm64': undefined, + 'ubuntu22.04-arm64': 'builds/firefox-beta/%s/firefox-beta-ubuntu-22.04-arm64.zip', 'mac10.13': 'builds/firefox-beta/%s/firefox-beta-mac-11.zip', 'mac10.14': 'builds/firefox-beta/%s/firefox-beta-mac-11.zip', 'mac10.15': 'builds/firefox-beta/%s/firefox-beta-mac-11.zip', @@ -151,8 +161,10 @@ const DOWNLOAD_PATHS = { 'generic-linux-arm64': 'builds/webkit/%s/webkit-ubuntu-20.04-arm64.zip', 'ubuntu18.04': 'builds/webkit/%s/webkit-ubuntu-18.04.zip', 'ubuntu20.04': 'builds/webkit/%s/webkit-ubuntu-20.04.zip', + 'ubuntu22.04': 'builds/webkit/%s/webkit-ubuntu-22.04.zip', 'ubuntu18.04-arm64': undefined, 'ubuntu20.04-arm64': 'builds/webkit/%s/webkit-ubuntu-20.04-arm64.zip', + 'ubuntu22.04-arm64': 'builds/webkit/%s/webkit-ubuntu-22.04-arm64.zip', 'mac10.13': undefined, 'mac10.14': 'builds/deprecated-webkit-mac-10.14/%s/deprecated-webkit-mac-10.14.zip', 'mac10.15': 'builds/webkit/%s/webkit-mac-10.15.zip', @@ -168,8 +180,10 @@ const DOWNLOAD_PATHS = { 'generic-linux-arm64': 'builds/ffmpeg/%s/ffmpeg-linux-arm64.zip', 'ubuntu18.04': 'builds/ffmpeg/%s/ffmpeg-linux.zip', 'ubuntu20.04': 'builds/ffmpeg/%s/ffmpeg-linux.zip', + 'ubuntu22.04': 'builds/ffmpeg/%s/ffmpeg-linux.zip', 'ubuntu18.04-arm64': 'builds/ffmpeg/%s/ffmpeg-linux-arm64.zip', 'ubuntu20.04-arm64': 'builds/ffmpeg/%s/ffmpeg-linux-arm64.zip', + 'ubuntu22.04-arm64': 'builds/ffmpeg/%s/ffmpeg-linux-arm64.zip', 'mac10.13': 'builds/ffmpeg/%s/ffmpeg-mac.zip', 'mac10.14': 'builds/ffmpeg/%s/ffmpeg-mac.zip', 'mac10.15': 'builds/ffmpeg/%s/ffmpeg-mac.zip', From a8fe58c289eebc5e79ef122bd0f57712d7ab43d9 Mon Sep 17 00:00:00 2001 From: Max Schmitt Date: Thu, 9 Jun 2022 12:46:12 +0200 Subject: [PATCH 2/3] rest --- docs/src/intro-csharp.md | 2 +- docs/src/intro-java.md | 2 +- docs/src/intro-python.md | 2 +- docs/src/library-js.md | 2 +- .../src/server/registry/dependencies.ts | 4 +- .../src/server/registry/nativeDeps.ts | 71 ++++++++++--------- .../playwright-core/src/utils/hostPlatform.ts | 4 +- tests/library/popup.spec.ts | 1 - .../inside_docker/process.sh | 2 +- utils/linux-browser-dependencies/run.sh | 2 +- 10 files changed, 48 insertions(+), 44 deletions(-) diff --git a/docs/src/intro-csharp.md b/docs/src/intro-csharp.md index cdf36e9a0a554..5ef9172ec2ae1 100644 --- a/docs/src/intro-csharp.md +++ b/docs/src/intro-csharp.md @@ -163,7 +163,7 @@ Depending on your Linux distribution, you might need to install additional dependencies to run the browsers. :::note -Only Ubuntu 18.04 and Ubuntu 20.04 are officially supported. +Only Ubuntu 18.04, 20.04, and 22.04 are officially supported. ::: See also in the [Command line tools](./cli.md#install-system-dependencies) diff --git a/docs/src/intro-java.md b/docs/src/intro-java.md index 3aa275e72b4ba..07ba03b63eb49 100644 --- a/docs/src/intro-java.md +++ b/docs/src/intro-java.md @@ -142,7 +142,7 @@ Depending on your Linux distribution, you might need to install additional dependencies to run the browsers. :::note -Only Ubuntu 18.04 and Ubuntu 20.04 are officially supported. +Only Ubuntu 18.04, 20.04, and 22.04 are officially supported. ::: See also in the [Command line tools](./cli.md#install-system-dependencies) diff --git a/docs/src/intro-python.md b/docs/src/intro-python.md index 8bdca346f7a09..d11f3ce8073e7 100644 --- a/docs/src/intro-python.md +++ b/docs/src/intro-python.md @@ -214,7 +214,7 @@ Depending on your Linux distribution, you might need to install additional dependencies to run the browsers. :::note -Only Ubuntu 18.04 and Ubuntu 20.04 are officially supported. +Only Ubuntu 18.04, 20.04, and 22.04 are officially supported. ::: See also in the [Command line tools](./cli.md#install-system-dependencies) diff --git a/docs/src/library-js.md b/docs/src/library-js.md index 11d9ac6f50b57..4b9c42fe18cc3 100644 --- a/docs/src/library-js.md +++ b/docs/src/library-js.md @@ -114,7 +114,7 @@ Depending on your Linux distribution, you might need to install additional dependencies to run the browsers. :::note -Only Ubuntu 18.04 and Ubuntu 20.04 are officially supported. +Only Ubuntu 18.04, 20.04, and 22.04 are officially supported. ::: See also in the [Command line tools](./cli.md#install-system-dependencies) diff --git a/packages/playwright-core/src/server/registry/dependencies.ts b/packages/playwright-core/src/server/registry/dependencies.ts index 5ef7b20f7a074..f27539872bbbf 100644 --- a/packages/playwright-core/src/server/registry/dependencies.ts +++ b/packages/playwright-core/src/server/registry/dependencies.ts @@ -228,7 +228,7 @@ export async function validateDependenciesLinux(sdkLanguage: string, linuxLddDir ``, ` ${maybeSudo}${buildPlaywrightCLICommand(sdkLanguage, 'install-deps')}`, ``, - `- (alternative 2) use Aptitude inside docker:`, + `- (alternative 2) use apt inside docker:`, ``, ` ${maybeSudo}apt-get install ${[...missingPackages].join('\\\n ')}`, ``, @@ -242,7 +242,7 @@ export async function validateDependenciesLinux(sdkLanguage: string, linuxLddDir ``, ` ${maybeSudo}${buildPlaywrightCLICommand(sdkLanguage, 'install-deps')}`, ``, - `Alternatively, use Aptitude:`, + `Alternatively, use apt:`, ` ${maybeSudo}apt-get install ${[...missingPackages].join('\\\n ')}`, ``, `<3 Playwright Team`, diff --git a/packages/playwright-core/src/server/registry/nativeDeps.ts b/packages/playwright-core/src/server/registry/nativeDeps.ts index e139be7106cd3..ec78bfc2397a9 100644 --- a/packages/playwright-core/src/server/registry/nativeDeps.ts +++ b/packages/playwright-core/src/server/registry/nativeDeps.ts @@ -434,12 +434,12 @@ export const deps: any = { }, }, - 'ubuntu21.04': { + 'ubuntu22.04': { tools: [ 'xvfb', 'fonts-noto-color-emoji', - 'ttf-unifont', - 'libfontconfig', + 'fonts-unifont', + 'libfontconfig1', 'libfreetype6', 'xfonts-cyrillic', 'xfonts-scalable', @@ -447,7 +447,7 @@ export const deps: any = { 'fonts-ipafont-gothic', 'fonts-wqy-zenhei', 'fonts-tlwg-loma-otf', - 'ttf-ubuntu-font-family', + 'fonts-freefont-ttf', ], chromium: [ 'libasound2', @@ -463,6 +463,7 @@ export const deps: any = { 'libnspr4', 'libnss3', 'libpango-1.0-0', + 'libwayland-client0', 'libx11-6', 'libxcb1', 'libxcomposite1', @@ -470,11 +471,10 @@ export const deps: any = { 'libxext6', 'libxfixes3', 'libxkbcommon0', - 'libxrandr2', - 'libxshmfence1' + 'libxrandr2' ], firefox: [ - 'ffmpeg', + 'libasound2', 'libatk1.0-0', 'libcairo-gobject2', 'libcairo2', @@ -485,11 +485,8 @@ export const deps: any = { 'libgdk-pixbuf-2.0-0', 'libglib2.0-0', 'libgtk-3-0', - 'libgtk2.0-0', - 'libharfbuzz0b', 'libpango-1.0-0', 'libpangocairo-1.0-0', - 'libpangoft2-1.0-0', 'libx11-6', 'libx11-xcb1', 'libxcb-shm0', @@ -500,61 +497,65 @@ export const deps: any = { 'libxext6', 'libxfixes3', 'libxi6', + 'libxrandr2', 'libxrender1', - 'libxt6' + 'libxtst6' ], webkit: [ 'gstreamer1.0-libav', 'gstreamer1.0-plugins-bad', 'gstreamer1.0-plugins-base', 'gstreamer1.0-plugins-good', + 'libicu70', 'libatk-bridge2.0-0', 'libatk1.0-0', 'libcairo2', + 'libdbus-1-3', + 'libdrm2', 'libegl1', 'libepoxy0', 'libevdev2', + 'libffi7', 'libfontconfig1', 'libfreetype6', + 'libgbm1', 'libgdk-pixbuf-2.0-0', - 'libgl1', 'libgles2', 'libglib2.0-0', + 'libglx0', 'libgstreamer-gl1.0-0', - 'libgstreamer-plugins-bad1.0-0', 'libgstreamer-plugins-base1.0-0', 'libgstreamer1.0-0', 'libgtk-3-0', + 'libgudev-1.0-0', 'libharfbuzz-icu0', 'libharfbuzz0b', 'libhyphen0', 'libjavascriptcoregtk-4.0-18', 'libjpeg-turbo8', 'liblcms2-2', + 'libmanette-0.2-0', 'libnotify4', + 'libopengl0', 'libopenjp2-7', 'libopus0', 'libpango-1.0-0', 'libpng16-16', + 'libproxy1v5', 'libsecret-1-0', 'libsoup2.4-1', - 'libvpx6', 'libwayland-client0', 'libwayland-egl1', 'libwayland-server0', - 'libwebkit2gtk-4.0-37', - 'libwebp6', 'libwebpdemux2', 'libwoff1', - 'libwpe-1.0-1', - 'libwpebackend-fdo-1.0-1', - 'libwpewebkit-1.0-3', 'libx11-6', 'libxcomposite1', 'libxdamage1', 'libxkbcommon0', 'libxml2', - 'libxslt1.1' + 'libxslt1.1', + 'libx264-163', ], lib2package: { 'libasound.so.2': 'libasound2', @@ -569,61 +570,57 @@ export const deps: any = { 'libdrm.so.2': 'libdrm2', 'libEGL.so.1': 'libegl1', 'libepoxy.so.0': 'libepoxy0', + 'libevdev.so.2': 'libevdev2', + 'libffi.so.7': 'libffi7', 'libfontconfig.so.1': 'libfontconfig1', 'libfreetype.so.6': 'libfreetype6', 'libgbm.so.1': 'libgbm1', 'libgdk_pixbuf-2.0.so.0': 'libgdk-pixbuf-2.0-0', 'libgdk-3.so.0': 'libgtk-3-0', - 'libgdk-x11-2.0.so.0': 'libgtk2.0-0', 'libgio-2.0.so.0': 'libglib2.0-0', - 'libGL.so.1': 'libgl1', 'libGLESv2.so.2': 'libgles2', 'libglib-2.0.so.0': 'libglib2.0-0', + 'libGLX.so.0': 'libglx0', 'libgmodule-2.0.so.0': 'libglib2.0-0', 'libgobject-2.0.so.0': 'libglib2.0-0', + 'libgstallocators-1.0.so.0': 'libgstreamer-plugins-base1.0-0', 'libgstapp-1.0.so.0': 'libgstreamer-plugins-base1.0-0', 'libgstaudio-1.0.so.0': 'libgstreamer-plugins-base1.0-0', 'libgstbase-1.0.so.0': 'libgstreamer1.0-0', - 'libgstcodecparsers-1.0.so.0': 'libgstreamer-plugins-bad1.0-0', 'libgstfft-1.0.so.0': 'libgstreamer-plugins-base1.0-0', 'libgstgl-1.0.so.0': 'libgstreamer-gl1.0-0', 'libgstpbutils-1.0.so.0': 'libgstreamer-plugins-base1.0-0', 'libgstreamer-1.0.so.0': 'libgstreamer1.0-0', 'libgsttag-1.0.so.0': 'libgstreamer-plugins-base1.0-0', 'libgstvideo-1.0.so.0': 'libgstreamer-plugins-base1.0-0', - 'libgthread-2.0.so.0': 'libglib2.0-0', 'libgtk-3.so.0': 'libgtk-3-0', - 'libgtk-x11-2.0.so.0': 'libgtk2.0-0', + 'libgudev-1.0.so.0': 'libgudev-1.0-0', 'libharfbuzz-icu.so.0': 'libharfbuzz-icu0', 'libharfbuzz.so.0': 'libharfbuzz0b', 'libhyphen.so.0': 'libhyphen0', 'libjavascriptcoregtk-4.0.so.18': 'libjavascriptcoregtk-4.0-18', 'libjpeg.so.8': 'libjpeg-turbo8', 'liblcms2.so.2': 'liblcms2-2', + 'libmanette-0.2.so.0': 'libmanette-0.2-0', 'libnotify.so.4': 'libnotify4', 'libnspr4.so': 'libnspr4', 'libnss3.so': 'libnss3', 'libnssutil3.so': 'libnss3', + 'libOpenGL.so.0': 'libopengl0', 'libopenjp2.so.7': 'libopenjp2-7', 'libopus.so.0': 'libopus0', 'libpango-1.0.so.0': 'libpango-1.0-0', 'libpangocairo-1.0.so.0': 'libpangocairo-1.0-0', - 'libpangoft2-1.0.so.0': 'libpangoft2-1.0-0', 'libpng16.so.16': 'libpng16-16', + 'libproxy.so.1': 'libproxy1v5', 'libsecret-1.so.0': 'libsecret-1-0', 'libsmime3.so': 'libnss3', 'libsoup-2.4.so.1': 'libsoup2.4-1', - 'libvpx.so.6': 'libvpx6', 'libwayland-client.so.0': 'libwayland-client0', 'libwayland-egl.so.1': 'libwayland-egl1', 'libwayland-server.so.0': 'libwayland-server0', - 'libwebkit2gtk-4.0.so.37': 'libwebkit2gtk-4.0-37', - 'libwebp.so.6': 'libwebp6', 'libwebpdemux.so.2': 'libwebpdemux2', 'libwoff2dec.so.1.0.2': 'libwoff1', - 'libwpe-1.0.so.1': 'libwpe-1.0-1', - 'libWPEBackend-fdo-1.0.so.1': 'libwpebackend-fdo-1.0-1', - 'libWPEWebKit-1.0.so.3': 'libwpewebkit-1.0-3', 'libX11-xcb.so.1': 'libx11-xcb1', 'libX11.so.6': 'libx11-6', 'libxcb-shm.so.0': 'libxcb-shm0', @@ -638,9 +635,15 @@ export const deps: any = { 'libxml2.so.2': 'libxml2', 'libXrandr.so.2': 'libxrandr2', 'libXrender.so.1': 'libxrender1', - 'libxshmfence.so.1': 'libxshmfence1', 'libxslt.so.1': 'libxslt1.1', - 'libXt.so.6': 'libxt6', + 'libXtst.so.6': 'libxtst6', + 'libicui18n.so.60': 'libicu70', + 'libicuuc.so.66': 'libicu70', + 'libicui18n.so.66': 'libicu70', + 'libwebp.so.6': 'libwebp6', + 'libenchant.so.1': 'libenchant-2-2', + 'libx264.so': 'libx264-163', + 'libvpx.so.7': 'libvpx7' }, } }; diff --git a/packages/playwright-core/src/utils/hostPlatform.ts b/packages/playwright-core/src/utils/hostPlatform.ts index a1a02874ba30b..cb2fe1cb6dd05 100644 --- a/packages/playwright-core/src/utils/hostPlatform.ts +++ b/packages/playwright-core/src/utils/hostPlatform.ts @@ -58,7 +58,9 @@ export const hostPlatform = ((): HostPlatform => { return ('generic-linux' + archSuffix) as HostPlatform; if (parseInt(ubuntuVersion, 10) <= 19) return ('ubuntu18.04' + archSuffix) as HostPlatform; - return ('ubuntu20.04' + archSuffix) as HostPlatform; + if (parseInt(ubuntuVersion, 10) <= 21) + return ('ubuntu20.04' + archSuffix) as HostPlatform; + return ('ubuntu22.04' + archSuffix) as HostPlatform; } if (platform === 'win32') return 'win64'; diff --git a/tests/library/popup.spec.ts b/tests/library/popup.spec.ts index 97d88cfec9e2f..08c7ee4aea530 100644 --- a/tests/library/popup.spec.ts +++ b/tests/library/popup.spec.ts @@ -251,7 +251,6 @@ it('should not throttle rAF in the opener page', async ({ page, server }) => { waitForRafs(page, 30), waitForRafs(popup, 30) ]); - console.log('done'); }); async function waitForRafs(page: Page, count: number): Promise { diff --git a/utils/linux-browser-dependencies/inside_docker/process.sh b/utils/linux-browser-dependencies/inside_docker/process.sh index 8a5585a800c65..be813f52e0732 100755 --- a/utils/linux-browser-dependencies/inside_docker/process.sh +++ b/utils/linux-browser-dependencies/inside_docker/process.sh @@ -5,7 +5,7 @@ set +x # Install Node.js apt-get update && apt-get install -y curl && \ - curl -sL https://deb.nodesource.com/setup_12.x | bash - && \ + curl -sL https://deb.nodesource.com/setup_16.x | bash - && \ apt-get install -y nodejs # Install apt-file diff --git a/utils/linux-browser-dependencies/run.sh b/utils/linux-browser-dependencies/run.sh index 9d587ecc2c41f..1a45eb4d022bf 100755 --- a/utils/linux-browser-dependencies/run.sh +++ b/utils/linux-browser-dependencies/run.sh @@ -32,5 +32,5 @@ cd "$(dirname "$0")" # image. node ../../utils/pack_package.js playwright-core ./playwright-core.tar.gz -docker run -v $PWD:/root/hostfolder --rm -it "$1" /root/hostfolder/inside_docker/process.sh "$2" +docker run --platform linux/amd64 -v $PWD:/root/hostfolder --rm -it "$1" /root/hostfolder/inside_docker/process.sh "$2" From 3e130a4b97db329a687859b65344e4cdeef01346 Mon Sep 17 00:00:00 2001 From: Max Schmitt Date: Thu, 9 Jun 2022 13:18:25 +0200 Subject: [PATCH 3/3] ffmpeg --- packages/playwright-core/src/server/registry/nativeDeps.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/playwright-core/src/server/registry/nativeDeps.ts b/packages/playwright-core/src/server/registry/nativeDeps.ts index ec78bfc2397a9..287d525b66cd6 100644 --- a/packages/playwright-core/src/server/registry/nativeDeps.ts +++ b/packages/playwright-core/src/server/registry/nativeDeps.ts @@ -474,6 +474,7 @@ export const deps: any = { 'libxrandr2' ], firefox: [ + 'ffmpeg', 'libasound2', 'libatk1.0-0', 'libcairo-gobject2',