ludiosarchive / nixos-playwright

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

License:The Unlicense


Languages

Language:Shell 100.0%