23

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

Stephen
  • 881

1 Answers1

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/.

Stephen
  • 881
  • 1
    ...and then see http://stackoverflow.com/questions/25695299/chromedriver-on-ubuntu-14-04-error-while-loading-shared-libraries-libui-base – Stephen Oct 20 '14 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. – Robert Siemer Mar 10 '15 at 11:03
  • driver = webdriver.Chrome('/usr/lib/chromium-browser/chromedriver') – alchemy Apr 14 '20 at 22:43