23

I've executed sudo apt-get install chromium-chromedriver for selenium, but which chromedriver does not return anything.

1 Answer 1

37

The answer (from package search) is /usr/lib/chromium-browser/chromedriver

To put the chromedriver binary in the path, you would write export PATH=$PATH:/usr/lib/chromium-browser/.

3
  • 1
    ...and then see stackoverflow.com/questions/25695299/…
    – Stephen
    Commented Oct 20, 2014 at 19:55
  • 2
    dpkg -L chromium-chromedriver shows you all files in that package as well. – I have no idea why the package is made that way, but I put a symlink from /usr/bin to the binary to have it in my PATH. Commented Mar 10, 2015 at 11:03
  • driver = webdriver.Chrome('/usr/lib/chromium-browser/chromedriver')
    – alchemy
    Commented Apr 14, 2020 at 22:43

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .