|
有用selenium2的童鞋吗?
执行打开IE浏览器的脚本时报这个错,提示需要下载IEwebdriverserver并配置到环境变量中,我下载了该文件配置到环境变量中仍报错,求解!
win7 32位 +IE8 且IE的保护模式均关闭
ruby 1.9.2
ruby browser.rb
D:/Ruby192/lib/ruby/gems/1.9.1/gems/selenium-webdriver-2.24.0/lib/selenium/webdriver/ie/server.rb:13:in `get’: Unable to find standalone executable. Please download the IEDriverServer from http://code.google.com/p/selenium/downloads/list and place the executable on your PATH. (Selenium::WebDriver::Error::WebDriverError)
from D:/Ruby192/lib/ruby/gems/1.9.1/gems/selenium-webdriver-2.24.0/lib/selenium/webdriver/ie/bridge.rb:26:in `initialize’
from D:/Ruby192/lib/ruby/gems/1.9.1/gems/selenium-webdriver-2.24.0/lib/selenium/webdriver/common/driver.rb:35:in `new’
from D:/Ruby192/lib/ruby/gems/1.9.1/gems/selenium-webdriver-2.24.0/lib/selenium/webdriver/common/driver.rb:35:in `for’
from D:/Ruby192/lib/ruby/gems/1.9.1/gems/selenium-webdriver-2.24.0/lib/selenium/webdriver.rb:65:in `for’
from browser.rb:5:in `’
>Exit code: 1[/pre] |
|