title: Ruby. Selenium. Proxy. Proxy not work
body: <pre><code>require 'rubygems' 
  require 'selenium-webdriver'
  
  @p = File.read("proxy.txt")
  @proxies = @p.split(/::/)
  @proxy =  @proxies[rand(@proxies.count)]
  
  caps = Selenium::WebDriver::Remote::Capabilities.firefox(proxy: Selenium::WebDriver::Proxy.new(http: @proxy))
  driver = Selenium::WebDriver.for :chrome, desired_capabilities: caps
  
  driver = Selenium::WebDriver.for :chrome
  driver.get("http://showip.net/")
  </code></pre>
  
  <p>This code is working, mean open windows blah blah, but every time I see my own local IP address not PROXY. It means proxy not work.
  I very need working with proxy prototype.
  Would you help me? Pleaseee...</p>
  
  <p>Thank you.</p>