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

DEPRECATED. Tell your puppeteer or playwright to use nixpkgs's google-chrome-dev's google-chrome-unstable binary. Previously: Patch playwright-downloaded browsers in ~/.cache/ms-playwright to run on NixOS

License

ludiosarchive/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 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.

About

DEPRECATED. Tell your puppeteer or playwright to use nixpkgs's google-chrome-dev's google-chrome-unstable binary. Previously: Patch playwright-downloaded browsers in ~/.cache/ms-playwright to run on NixOS

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages