Skip to content

Patch playwright-downloaded browsers in ~/.cache/ms-playwright to run on NixOS

Notifications You must be signed in to change notification settings

cristinecula/nixos-playwright

 
 

Repository files navigation

nixos-playwright

fix-playwright-browsers patches the playwright-downloaded browser binaries so that they can run on NixOS.

Usage

  1. Install google-chrome-dev and firefox-bin via your NixOS configuration or nix-env -iA.

  2. Install playwright via npm or yarn and make sure ~/.cache/ms-playwright has some browsers.

  3. Run fix-playwright-browsers or a browser-specific script from this repo.

Remember to run fix-playwright-browsers after every NixOS upgrade.

Bugs

fix-playwright-webkit does not yet result in a working webkit MiniBrowser; PRs welcome.

About

Patch playwright-downloaded browsers in ~/.cache/ms-playwright to run on NixOS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%