title: Testing with Chromium using Selenium and Python
body: <p>I have the following code</p>
  
  <pre><code>import time
  
  from selenium import webdriver
  import selenium.webdriver.chrome.service as service
  
  chromedriver_path = "/Users/stephen/Downloads/chromedriver2_mac32_0.8/chromedriver"
  
  chromium_path = "/Users/stephen/Downloads/chrome-mac/Chromium.app/Contents/MacOs/Chromium"
  
  service = service.Service(chromedriver_path)
  service.start()
  capabilities = {'chrome.binary': chromium_path}
  driver = webdriver.Remote(
      service.service_url,
      desired_capabilities=capabilities)
  driver.get('http://www.google.com/xhtml');
  time.sleep(5) # Let the user actually see something!
  driver.quit()
  </code></pre>
  
  <p>Unfortunately, when I run the above Python script, Selenium very politely completely ignores the fact that I wanted to use <code>Chromium</code> and instead uses my default <code>Google Chrome</code>. To be clear, it does exactly what the script specifies, it is just that it is using Chrome and not Chromium.</p>
  
  <p>Obviously, I am doing something wrong. I am basing my attempts off of the following pages.</p>
  
  <p><a href="https://code.google.com/p/chromedriver/wiki/GettingStarted" rel="noreferrer">https://code.google.com/p/chromedriver/wiki/GettingStarted</a></p>
  
  <p><a href="http://selenium.googlecode.com/svn/trunk/docs/api/py/webdriver_chrome/selenium.webdriver.chrome.webdriver.html?highlight=capabilities" rel="noreferrer">http://selenium.googlecode.com/svn/trunk/docs/api/py/webdriver_chrome/selenium.webdriver.chrome.webdriver.html?highlight=capabilities</a></p>
  
  <p>What do I need to do to use the <strong><em>Chromium</em></strong> web browser with Selenium (in Python)?</p>