我正在尝试在 64 位 Windows 7 上将 watir-webdriver 与 IE9 一起使用。当我尝试打开新浏览器时,我收到以下错误消息,关于解决方案的任何想法?
C:\watir>irb
irb(main):001:0> require "rubygems"
=> true
irb(main):002:0> require "watir-webdriver"
=> true
irb(main):003:0> browser = Watir::Browser.new(:ie)
Selenium::WebDriver::Error::NoSuchDriverError: Unexpected error launching Internet Explorer. Protected Mode must be set to the same value (enabled or disabled) for all zones.
我可以在 Firefox 4 的同一台机器上使用 watir-webdriver,所以我猜它和 IE9 的问题?