I've been using Watir for a month or so now and use
profile = Selenium::WebDriver::Firefox::Profile.new
profile.proxy = Selenium::WebDriver::Proxy.new :http=> proxy # proxy = "IP:Port"
This works great for Firefox. However, I'd like to use Chrome as well on my Ubuntu Lucid dev machine. When I use
Selenium::WebDriver::Chrome::Profile.new
I get an @model=nil when I use puts profile.inspect
. As a result I can't get out through the proxy and I can't use
profile.native_events = false
All of the code I'm trying to use works fine for a Firefox browser (obviously all Selenium::WebDriver::Chrome instances are replaced with Selenium::WebDriver::Firefox). And I can get Chrome to see the outside world when I bypass the proxy or set it up in Ubuntu so everything goes through the proxy but that isn't ideal and doesn't solve the native_events issue.
From what I can tell so far Chrome is a lot faster to load as a program. And significantly faster on the retrieval of URLs. So I could do a lot more testing if I were to use Chrome but for now these Selenium::WebDriver issues are preventing me from doing so.