Python test using selenium cannot perform simple test
<p>I am trying to learn about Selenium but I am not able to get even a simple program to test. Selenium webdriver seems to not be cooperating with Firefox and I am very frustrated, so I come to Stack Overflow for help.</p>

<p>For background, I use Python, can install with pip, and know command line.
I am on windows 10, firefox 48, and selenium webdriver 3 with python 3.5.2</p>

<p>Whenever I run the selenium test, (it opens a Firefox windows and the selenium website)</p>

<pre><code>from selenium import webdriver
browser = webdriver.Firefox()
browser.get('http://www.seleniumhq.org')
</code></pre>

<p>I always get an error:</p>

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

<p>It also opens a firefox window and has the link of <code>about:blank&amp;utm_content=firstrun</code>(not a valid url)</p>

<p>I have looked across the internet for a similar situation, but nothing really close. I also tried many tutorials and made sure that I installed selenium the right way. I noticed that firefox was recently updated, but I am not sure if this has any effect. </p>

<p>I would appreciate any help for this, and instructions for what I should do.</p>

<p>Firefox 48+ doesn't support <code>webdriver.Firefox()</code>.     </p>

<pre><code>from selenium import webdriver
from selenium.webdriver.common.desired_capabilities import DesiredCapabilities

caps = DesiredCapabilities.FIREFOX
caps["marionette"] = True
caps["binary"] = "path/to/your/firefox"

browser = webdriver.Firefox(capabilities=caps)
browser.get('http://www.seleniumhq.org')
</code></pre>

<p>This is what I was trying<br>
1. download <code>geckodriver</code>.<a href="https://github.com/mozilla/geckodriver/releases" rel="nofollow">https://github.com/mozilla/geckodriver/releases</a>. <code>v.0.10.0</code>is for <code>selenium 3(beta)</code>.<br>
2. add PATH your geckodriver.<br>
4. rename it to  <code>wires</code><br>
5. restart shell<br>
6. check the version<br>
<code>$ wires --version</code><br>
7. and run above the code.</p>

python python-3.x selenium-webdriver