Path of a Nixpacks (google-chrome, chromedriver) [Python]
Hello, with the latest update I could install
google-chrome
and chromedriver
using Nixpacks by adding a railway.json
file like this (in case other people are interested):
Now in order to use Selenium to webscrape (with permission), I would need to point it to the google-chrome
and chromedriver
path, but where is it located?
How do I get access to it? (In my directories there's just a .nix
file btw)
Specifically, what should I write instead of '[full-google-chrome-path]'
and '[full-chromedriver-path]'
in the following situation:
Thanks!5 Replies
Project ID:
N/A
N/A
This is probably a newbie question, but that's what I am in Nixpacks... maybe someone can give me a clue on this? It's probably just a one-sentence answer.
Thanks!
Or do I have to install google-chrome after that? How would I do that actually? Help is very appreciated!
If this is too trivial that everyone is facepalming me and moving on, please at least react so that I know this is trivial and I'm simply dumb... 😦
Hi @AzuXorce(at)シノン教,
Sorry for such a delayed response on this. I haven't used google-chrome or chromedriver on nix before, but the paths of the binaries can be found in
/root/.nix-profile/bin
You might also want the dev or beta versions of chrome