title: Installing Selenium on Raspberry Pi on Python
body: <p>I have a new Raspberry Pi 3 Model B. I am using the latest version of Raspbian.</p>
  
  <p>I have been trying to set up Selenium on Python but have failed.
  There is little/no guidance on how to achieve this on the Pi.</p>
  
  <p>I tried installing Selenium via pip, which worked but when I ran the following, I got an error.</p>
  
  <pre><code>from selenium import webdriver
  browser = webdriver.Firefox()
  </code></pre>
  
  <p>This is the error:</p>
  
  <pre><code>selenium.common.exceptions.WebDriverException: Message: 'geckodriver' 
  executable needs to be in PATH. 
  </code></pre>
  
  <p>There seem to be solutions to this on other stackoverflow pages but none have solved my problem so far.</p>
  
  <p>Could anyone give me any guidance as to how they have done it? </p>
  
  <p>Any help is much appreciated!</p>