Selenium webdriver seems not working properly with Firefox 49.0. Am I missing something?
<p>I have gone through previous questions but did not find anyone else running into my issue.</p>

<p>This simple code hangs</p>

<pre><code>from selenium import webdriver
d = webdriver.Firefox();
</code></pre>

<p>The browser gets launched, but it just hangs there. After sometime, it crashes and I get the error</p>

<pre><code>selenium.common.exceptions.WebDriverException: Message: Can't load the profile. 
Profile Dir: /tmp/tmpn_MQnf If you specified a log_file in the 
FirefoxBinary constructor, check it for details.
</code></pre>

<p>I have Firefox49 on Ubuntu 14.04 LTS. I had selenium 2.53.6 and reading a previous post, I upgraded to selenium 3.0.0.b3. I also downloaded geckdriver and put it in /usr/bin</p>

<p>It looks like I was still running older version of selenium. But when I uninstalled that and installed selenium 3.0.0.b3, I see the following error -</p>

<pre><code>selenium.ââcommon.exceptions.WeââbDriverException: 
Message: Service geckodriver unexpectedly exited. Status code was: 2 
</code></pre>

<p>What am I missing?</p>

<p>Try renaming the downloaded Gecko Driver to Wires and Set the Capabilities as mentioned Below.</p>

<pre><code>System.setProperty("webdriver.gecko.driver", "//home//.....//BrowserDrivers//wires");
DesiredCapabilities capabilities = DesiredCapabilities.firefox();
capabilities.setCapability("marionette", true);
Driver = new MarionetteDriver(capabilities);
</code></pre>

<p>I tried with the Above code on FireFox 49 on Linux Ubuntu 14.04 LTS... Code Works Fine For Me in Java.. 
Also try to downgrade the selenium WebDriver from Beta to 2.53 as Beta version is unstable..</p>

python selenium firefox selenium-webdriver ubuntu-14.04