Selenium unable to start Firefox
<p>I'm trying to make a simple scraping program but I am not able to get Selenium working with Firefox. I installed <a href="https://developer.mozilla.org/en-US/docs/Mozilla/QA/Marionette/WebDriver" rel="nofollow">Marionette</a> but that didn't solve anything. When I type this:</p>

<pre><code>from selenium import webdriver

driver = webdriver.Firefox()
</code></pre>

<p>I get this error:</p>

<blockquote>
  <p>AttributeError: 'Service' object has no attribute 'process'</p>
</blockquote>

<p>Also, PyCharm gives this warning:</p>

<blockquote>
  <p>'Firefox' is not callable</p>
</blockquote>

<p>How can I solve this?</p>

<p>Try using the complete path to firefox executable. Maybe it's not listed in you variable environment path..</p>

<pre><code>from selenium import webdriver
driver = webdriver.Firefox("/path/to/firefox")
</code></pre>

<p>This should tell your script where to find the firefox executable.</p>

<p><strong>Edit:</strong></p>

<p>If you're using Windows, try using double slashes. </p>

<p>I.e.: <code>'C://Program Files (x86)//Mozilla Firefox//firefox.exe'</code> </p>

<p>Or marking it as a raw string:</p>

<p>I.e.: <code>r'C:/Program Files (x86)/Mozilla Firefox/firefox.exe'</code></p>

python selenium firefox pycharm