title: Always Allow Geolocation in Firefox using Selenium
body: <p>I am creating some end-to-end tests for a web app using <a href="http://docs.seleniumhq.org/docs/" rel="noreferrer" title="Selenium Docs">Selenium</a>.</p>
  
  <p>I am working in Python and using the Firefox driver</p>
  
  <p><code>driver = webdriver.Firefox()</code></p>
  
  <p>The problem is that my web app using HTML5 geolocation, and it seems that everytime I run my tests, I have to click the 'Allow Location' popup in Firefox, making my tests less than automated.</p>
  
  <p>Is there a way to force the Selenium Firefox driver to always allow geolocation without prompting?</p>