Hey folks
I’m developing a python web application and would like to use playwright for browser tests.
Playwright needs specific browser versions (and I think they also have custom patches) and usually downloads them itself, which doesn’t work at all on my setup. (I’m on arch linux, but the project manages all dependencies through nix or poetry/npm)
Looking for an answer I found this playwright issue and this project, which helped me understand the situation but didn’t really solve my problem, so I spent a few hours to develop an approach that seems to work. It’s only running a small proof-of-concept test for now, but things are looking good.
I extracted the relevant stuff and put it on github, in case anybody runs into similar challenges.
It’s far from perfect (input appreciated!) but seems to do the job for now.
Happy hacking everone