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

相關問題