Advertisement
Guest User

Untitled

a guest
Jul 6th, 2015
170
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. profile = Selenium::WebDriver::Firefox::Profile.new
  2. profile["network.proxy.type"] = 1
  3. profile["network.proxy.http"] = "kproxy.in"
  4. profile["network.proxy.http_port"] = 80
  5. @driver = Selenium::WebDriver.for cfg["WEBDRIVER"], :profile => profile #:firefox
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement