Python Webdriver not loading page on Windows
<p>I am using Python 3.5 on a Windows computer.  When I run this code on my Mac it works perfect, no issues what so ever.  But when I bring the code to my Windows computer it doesn't work.</p>

<p>Basically the web browser will open but I will just get a blank page.  Nothing will load, not even the home page.  I don't get any error messages.</p>

<pre><code>from selenium import webdriver

driver = webdriver.Firefox()
driver.get('https://www.google.com')
cookies = driver.get_cookies()

print(cookies)
</code></pre>

<p>Once I close the web browser I get this message in the shell:</p>

<p><code>"The browser appears to have exited "
selenium.common.exceptions.WebDriverException: Message: The browser appears to have exited before we could connect. If you specified a log_file in the FirefoxBinary constructor, check it for details.</code></p>

<p>From what I've been able to find online (most is for Java) it looks like I may need to setup a profile?  Is this correct and could anyone help with this?</p>

<p>It looks like your client doesn't have the fix for the new switch to launch the gecko driver:</p>

<p><a href="https://github.com/SeleniumHQ/selenium/commit/c76917839c868603c9ab494d8aa0e9d600515371" rel="nofollow">https://github.com/SeleniumHQ/selenium/commit/c76917839c868603c9ab494d8aa0e9d600515371</a></p>

<p>Make sure that you have the latest beta version installed (selenium-3.0.0b2) if you which to use the geckodriver v0.10.0 and above:</p>

<pre><code>pip install -U selenium --pre
</code></pre>

<p>Note that you need the <code>--pre</code> flag to install the beta version.</p>

python selenium firefox webdriver