

In chromium, chromedriver is included (at least on Arch, and probably on all distros): /usr/lib/chromium/chromedriver driver = webdriver.Chrome('/path/to/chromedriver').Help WebDriver find the downloaded ChromeDriver executable by specifying the path.I have a python script that requires chromedriver. Apparently not, so I dug further: I thought that perhaps Ubuntu should have a package that provides the geckodriver executable so I used apt-file search geckodriver to search for it and found no results.I'm running Arch Linux with current chromium browser version (.100-1) and all packages fully updated. Since geckodriver is an executable, I concluded that it should be provided by the installation of the selenium package via pip or at least error out with some message stating what I need to do next. : Message: 'geckodriver' executable needs to be in PATH.Įxception AttributeError: "'Service' object has no attribute 'process'" in > ignored Os.path.basename(self.path), self.start_error_message) It results this error: Traceback (most recent call last):įile "/home/myuser/bin/selenium-experiment.py", line 2, in įile "/home/myuser/python_virtualenv/local/lib/python2.7/site-packages/selenium/webdriver/firefox/webdriver.py", line 135, in _init_įile "/home/myuser/python_virtualenv/local/lib/python2.7/site-packages/selenium/webdriver/common/service.py", line 71, in start I am building a virtualenv off of that so as to install the Selenium package into it via: pip install -upgrade seleniumīut when doing a trial run with the following python script: from selenium import webdriver Executing python -V returns Python 2.7.12.
