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
![](https://utfs.io/f/b4676fb1-6665-4837-8a26-72e14a39e5be-gszvmv.20.342x.png)
![](https://utfs.io/f/24b96d11-6a42-4fea-a656-ad1d8d96d79d-1nq2cb.png)
You might also want the dev or beta versions of chrome
![](https://utfs.io/f/a17ff9f1-59f9-4712-af27-5784c9eaa8ae-gszvmv.22.192x.png)