Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Latest commit

 

History

History
17 lines (9 loc) · 637 Bytes

README.md

File metadata and controls

17 lines (9 loc) · 637 Bytes

nixos-playwright

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

Usage

  1. Install the packages 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.