title: I can't use selenium in python
body: <p>THIS IS MY CODE</p>
  
  <pre><code>from selenium import webdriver
  
  from selenium.common.exceptions import NoSuchElementException
  
  from selenium.webdriver.common.keys import Keys
  
  import time
  
  print 0
  
  browser = webdriver.Firefox()
  
  print 1
  
  browser.get("http://www.baidu.com") 
  
  browser.close()
  </code></pre>
  
  <p>And I can't open the url.</p>
  
  <p>the broswer is open and the url is null.</p>
  
  <p>and the broswer is stuck.</p>
  
  <p>and then I found the code can print 0 and can't print 1</p>
  
  <p>what's wrong?!</p>
  
  <p>How to see If my Firefox is compatible with my selenium 
  my selenium is 2.42.1
  my firefox is 31.0</p>