title: Chromedriver on Raspberry Pi: Service /usr/lib/chromium-browser/chromedriver unexpectedly exited. Status code was: -4 [not a duplicate]
body: <p>I am trying to get selenium webdriver and hence chromedriver to run on a Raspberry Pi.
  So, I installed the latest package of <code>chromium-browser</code> and the latest <code>chromedriver</code> package from this source: <a href="https://launchpad.net/ubuntu/trusty/armhf/chromium-chromedriver/65.0.3325.181-0ubuntu0.14.04.1" rel="nofollow noreferrer">https://launchpad.net/ubuntu/trusty/armhf/chromium-chromedriver/65.0.3325.181-0ubuntu0.14.04.1</a></p>
  
  <p>The following very simple script crashes with the error code <code>-4</code> (see full message below):</p>
  
  <pre><code>from selenium import webdriver
  driver = webdriver.Chrome('/usr/lib/chromium-browser/chromedriver')
  driver.get("http://www.google.com")
  </code></pre>
  
  <p>Here's the error:</p>
  
  <pre><code>Traceback (most recent call last):
    File "cookie-crawler.py", line 10, in &lt;module&gt;
      driver = webdriver.Chrome('/usr/lib/chromium-browser/chromedriver')
    File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/chrome/webdriver.py", line 73, in __init__
      self.service.start()
    File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/common/service.py", line 98, in start
      self.assert_process_still_running()
    File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/common/service.py", line 111, in assert_process_still_running
      % (self.path, return_code)
  selenium.common.exceptions.WebDriverException: Message: Service /usr/lib/chromium-browser/chromedriver unexpectedly exited. Status code was: -4
  </code></pre>
  
  <p>As I could not find information about this status code, I would like to ask you, if you know what this means and where I can find further information to fix this.
  I already double-checked the versions of chromium-browser and chromedriver and this does not seem to be the problem.
  Thank you for any hints!</p>