A template to bootstrap Selenium scraping with Nix.
If you have nix
and direnv
, then just direnv allow
.
Luckily for you, we have a single-click installer for nix
, direnv
and home-manager
.
./demo.py
should just work. If it doesn't, try xvfb-run ./demo.py
. This one will work for sure, even on a server without a real X framebuffer!
- Can we use
which
instead of nix store lookup to findchromedriver
andchromium
?