Package Details: playwright 1.63.0-2

Git Clone URL: https://aur.archlinux.org/playwright.git (read-only, click to copy)
Package Base: playwright
Description: Node.js library to automate Chromium, Firefox and WebKit with a single API
Upstream URL: https://playwright.dev
Licenses: Apache-2.0
Conflicts: python-playwright
Submitter: grawlinson
Maintainer: bkb (ismet)
Last Packager: ismet
Votes: 5
Popularity: 0.166514
First Submitted: 2021-08-26 07:30 (UTC)
Last Updated: 2026-09-20 15:26 (UTC)

Dependencies (6)

Required by (1)

Sources (2)

Pinned Comments

ismet commented on 2026-08-12 00:21 (UTC) (edited on 2026-09-20 15:29 (UTC) by ismet)

Browser builds are version-matched, reinstall after upgrades. They land in the user cache by default.

Optional WebKit setup on Arch (unsupported upstream):

  1. paru -S flite-voices-extra -> missing Flite voices (thanks @zadkiel)

  2. paru -S icu74 —> WebKit needs ICU 74; system ICU 78 is not enough

  3. sudo pacman -S libxml2-legacy -> provides libxml2.so.2

  4. playwright install webkit

Do not symlink libxml2.so.16 to libxml2.so.2. If you previously created a manual symlink, remove it before installing libxml2-legacy using sudo rm /usr/lib/libxml2.so.2, so it does not conflict.

Latest Comments

1 2 Next › Last »

ismet commented on 2026-08-12 00:21 (UTC) (edited on 2026-09-20 15:29 (UTC) by ismet)

Browser builds are version-matched, reinstall after upgrades. They land in the user cache by default.

Optional WebKit setup on Arch (unsupported upstream):

  1. paru -S flite-voices-extra -> missing Flite voices (thanks @zadkiel)

  2. paru -S icu74 —> WebKit needs ICU 74; system ICU 78 is not enough

  3. sudo pacman -S libxml2-legacy -> provides libxml2.so.2

  4. playwright install webkit

Do not symlink libxml2.so.16 to libxml2.so.2. If you previously created a manual symlink, remove it before installing libxml2-legacy using sudo rm /usr/lib/libxml2.so.2, so it does not conflict.

zadkiel commented on 2026-07-27 17:03 (UTC) (edited on 2026-07-27 17:03 (UTC) by zadkiel)

Playwright's bundled WebKit won't launch on Arch without extra flite modules:

error while loading shared libraries: libflite_cmu_us_awb.so.1: cannot open shared object file: No such file or directory

The WebKit build is produced on Debian against libflite1, which ships the full upstream voice set. Arch's flite compiles a trimmed profile and omits six of those modules, so the dynamic linker refuses to start the process:

libflite_cmu_grapheme_lang.so.1
libflite_cmu_grapheme_lex.so.1
libflite_cmu_time_awb.so.1
libflite_cmu_us_awb.so.1
libflite_cmu_us_kal.so.1
libflite_cmu_us_rms.so.1

Note flite does provide cmu_us_kal16 and cmu_us_slt, but not kal, awb or rms, so having flite installed is not enough.

I've packaged the missing modules as flite-voices-extra, built from the upstream flite 2.2 tarball. playwright-webkit-flite-deps solves the same problem by extracting the prebuilt libraries from Debian's .deb (it depends on dpkg), if you'd prefer that.

Wooing0 commented on 2026-06-24 19:06 (UTC)

To add detail to Phi11ip's comment: the root cause is that pkgver() calls npm view playwright version at build time, which bumps $pkgver to 1.61.1 after the source tarball has already been downloaded as playwright-1.61.0.tar.gz. When package() then references $srcdir/playwright-1.61.1.tar.gz, it doesn't exist → npm error ENOENT.

Fix for the maintainer: keep the pinned pkgver in sync with each upstream release (set it to 1.61.1 now).

Workaround for users: edit the PKGBUILD locally to set pkgver=1.61.1, delete src/ and pkg/, then run makepkg -si directly instead of paru -S playwright (paru re-fetches the PKGBUILD from AUR on each run, undoing the edit).

Phi11ip commented on 2026-06-16 11:10 (UTC)

Looks like the PKGBUILD is downloading version 161 (just released yesterday), but still referencing 160. Just a heads-up!

ruahcra commented on 2026-04-22 13:13 (UTC)

.SRCINFO was not updated

andreip commented on 2026-04-21 17:37 (UTC)

PKGBUILD has pkgrel 2 so the version should have been 1.59.1.-2.

But this page shows "Package Details: playwright 1.59.1-1".

"yay -Si playwright" shows "1.59.1-1".

"curl -s https://aur.archlinux.org/packages-meta-v1.json.gz | zcat | grep -m1 playwright" shows "1.59.1-1"

This causes playwright to be reinstalled over and over again on "yay -Syyuu --needed" even though nothing changed in PKGBUILD.

Anyone knows what causes this?

bkb commented on 2026-03-26 09:59 (UTC)

playwright: /usr/bin/playwright exists in filesystem (owned by python-playwright)

mewset commented on 2026-01-05 20:02 (UTC)

Honestly, Playwright on Arch gave me such headaches. Using in for testing i found out that you can force e2e tests to use the system browser instead of the bundled.

https://gist.github.com/mewset/44d4b5f21d3d00587a50190aa85cb692

ericswpark commented on 2025-11-26 17:47 (UTC)

Hi, just installed 1.56.1-1 and am getting this during bunx playwright install: Host system is missing dependencies to run browsers. Please install them with the following command: sudo npx playwright install-deps Alternatively, use apt: sudo apt-get install libicu74 libxml2 libvpx9 libflite1 Could these also be added as dependencies?

edrf commented on 2025-09-11 15:39 (UTC)

Hi, I just installed 1.54.0-1 and ran playwright install.

I lost the initial playwright message telling me I had missing libraries, but I had to install the following additional dependencies libffi7 harfbuzz-icu woff2 libxml2-legacy icu66 hyphen enchant libevdev libgudev libwebp0.5.

Maybe those could be added as dependencies as well.