title: Running selenium behind a proxy server
body: <p>I have been using selenium for automatic browser simulations and web scraping in python and it has worked well for me. But now, I have to run it behind a proxy server. So now selenium open up the window but could not open the requested page because of proxy settings not set on the opened browser. Current code is as follows (sample):</p>
  
  <pre><code>from selenium import webdriver
  
  sel = webdriver.Firefox()
  sel.get('http://www.google.com')
  sel.title
  sel.quit()
  </code></pre>
  
  <p>How do I change the above code to work with proxy server now as well?</p>