Selenium seems not working properly with Firefox 49.0, Is anyone familiar with this?
<p>I have been trying to load my Firefox (Mozilla Firefox 49.0), with simple python script and with the assistance of selenium-2.53.6 on Ubuntu 16.04.1 LTS, but even <a href="https://pypi.python.org/pypi/selenium" rel="nofollow">selenium's basic example 0</a> doesn't work:</p>

<blockquote>
  <p>from selenium import webdriver  </p>
  
  <p>browser = webdriver.Firefox()</p>
  
  <p>browser.get('<a href="http://seleniumhq.org/" rel="nofollow">http://seleniumhq.org/</a>')</p>
</blockquote>

<p>I always get after about 5 seconds a timeout, and firefox crashes with the following message:</p>

<p>"Can't load the profile. Profile Dir: /tmp/tmpl5qlfokc If you specified a log_file in the FirefoxBinary constructor, check it for details"</p>

<p>so I created a specific firefox profile (profile -p), and used it, wrote:</p>

<blockquote>
  <p>profile =
  webdriver.FirefoxProfile('absolute path to profile folder')</p>
  
  <p>driver = webdriver.Firefox(profile)</p>
</blockquote>

<p>but still it seems no matter what I do, the browser crashes after 5 seconds.  </p>

<p>Read the post <a href="http://stackoverflow.com/questions/6682009/selenium-firefoxprofile-exception-cant-load-the-profile">can't load profile on firefox</a> and followed the instructions but still unfortunately the same result. does anyone know how to overcome this the issue?</p>

<p>Thank you all!</p>

<p>For firefox 49.0 you need selenium 3(it's in beta stage, that's why you can't download it with <code>pip -U</code>) and geckodriver.</p>

<p>try this:</p>

<pre><code>wget https://github.com/mozilla/geckodriver/releases/download/v0.10.0/geckodriver-v0.10.0-linux64.tar.gz
tar xzvf geckodriver-v0.10.0-linux64.tar.gz
cp geckodriver /usr/bin/
pip install selenium==3.0.0b3
</code></pre>

python selenium firefox