How is it possible to get browser IP with Watir? I'm using proxy and I want to verify if it's working correctly. Perhaps there is some other way if proxy is working?
Here's my current code:
profile = Selenium::WebDriver::Firefox::Profile.new
profile.proxy = Selenium::WebDriver::Proxy.new :http => 'my.proxy.com', :ssl => 'my.proxy.com'
browser = Watir::Browser.new :firefox, :profile => profile
browser.goto 'http://someurl.com'
The browser will open the url, although the proxy is not working.
Thanks for help