Playwright tests on multiple browsers

Hey there!

I’ve built a suite of Playwright based browser tests for my new little app. I run them against the three major browser types (chromium, firefox, webkit) on my local nix-darwin powered Mac and life is great!

But then I wanted to run them in GitHub Actions as well and realized that firefox and webkit are missing in the linux version of the playwright-driver derivation.

How should I go about adding them? Either upstream or just for my project.

I’ve created a minimal example repo, so that it’s easy to reproduce what I see: GitHub - zupo/playwright_test

2 Likes

Relevant nixpkgs issue: Package request: `playwright-driver`: package Firefox and Webkit · Issue #288826 · NixOS/nixpkgs · GitHub

3 Likes