Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- profile = Selenium::WebDriver::Firefox::Profile.new
- profile["network.proxy.type"] = 1
- profile["network.proxy.http"] = "kproxy.in"
- profile["network.proxy.http_port"] = 80
- @driver = Selenium::WebDriver.for cfg["WEBDRIVER"], :profile => profile #:firefox
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement