1

我试图运行在IE9浏览器中的硒红宝石的webdriver 脚本时,下面的错误,浏览器没有启动,以下错误 显示:不能在IE9浏览器中运行Selenium红宝石的webdriver

Selenium::WebDriver::Error::WebDriverError: Unable to find standalone executable 
    . Please download the IEDriverServer from http://code.google.com/p/selenium/down 
    loads/list and place the executable on your PATH. 

Below are lines of code that I have tried: 

    browser=Selenium::WebDriver.for :ie 
    @driver.get CONFIG['url'] 

请指导如果我需要在这种情况下执行更多步骤,以便能够使用Ruby Selenium Webdriver在IE9浏览器上运行脚本,非常感谢。

回答

1

我认为错误日志是不言自明的。未来,IEDriver必须单独下载,就像你现在正在为铬合金行业做的那样。 创建者here的好解释。您可以从错误日志中的链接下载驱动程序zip并将其添加到PATH中。阅读更多@IEDriver

+0

这是很好的指南,非常感谢。 – battleship

相关问题