fix-playwright-browsers
patches the playwright-downloaded browser binaries so that they can run on NixOS.
-
Install the packages
google-chrome-dev
andfirefox-bin
via your NixOS configuration ornix-env -iA
. -
Install playwright via npm or yarn and make sure
~/.cache/ms-playwright
has some browsers. -
Run
fix-playwright-browsers
or a browser-specific script from this repo.
Remember to run fix-playwright-browsers
after every NixOS upgrade.
fix-playwright-webkit
does not yet result in a working webkit MiniBrowser; PRs welcome.