title: Running Selenium+Chromedriver through a proxy?
body: <p>I'm running Selenium (really <a href="https://splinter.readthedocs.io/en/latest/" rel="nofollow noreferrer">Splinter</a>) in Python on a Heroku server. I need to run it through a proxy server, but most options for proxies seem to work only with Firefox, which can't run on Heroku.</p>
  
  <p>I've been trying to use the QuotaGuard addon by just adding an argument to chrome options, but it only results in getting blank web pages. Here's the setup (using the chromedriver/Google Chrome buildbacks, which place the bin in GOOGLE_CHROME_SHIM):</p>
  
  <pre><code>chrome_bin = os.environ.get('GOOGLE_CHROME_SHIM', None)
  opts = ChromeOptions()
  opts.add_argument("proxy-server=SOME_URL")
  opts.binary_location = chrome_bin
  with Browser('chrome', executable_path="chromedriver", options=opts) as browser:
      # Do stuff
  </code></pre>
  
  <p>What's the best way to basically have it run through another IP address? Is there another way to do that that's not a proxy server?</p>