title: How can I make each window open with different proxy selenium
body: <p>So I have this script which opens each item in the 'link' array. However,  I would like each of the windows to open using different ip:port:user:pass proxies.</p>
  
  <p>This is my code so far.</p>
  
  <pre><code>from selenium import webdriver
  
  def main():
  
  # link = "http://www.google.com"
  link = ["www.google.com", "www.wikipedia.com"]
  
  
  windows = len(link)
  DRIVERS = []
  position = [0,0]
  count = 0
  for i in range(0,windows):
      if count == 1000:
          count = 0
          position[0] += 300
  
      driver = webdriver.Chrome(executable_path="drivers/chromedriver")
  
      driver.set_window_size(300,200)
      driver.get(link[i])
      DRIVERS.append(driver)
      driver.set_window_position(position[0], position[1]+count)
      count += 200
  
  exit = input("exit? ")
  for eachWindow in DRIVERS:
      eachWindow.quit()
  
  
  if __name__ == '__main__':
      main()
  </code></pre>
  
  <p>Any help is greatly appreciated. Thanks </p>