selenium打不開ie

案例描述:


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.

 

解決辦法:

按錯誤提示逐步操作即可。

step1:Please download the IEDriverServer fromhttp://code.google.com/p/selenium/downloads/list

          進入IEDriverServer 下載頁面http://code.google.com/p/selenium/downloads/list下載IEDriverServer_Win32_2.25.3.zip(win系統),解壓後得到文件IEDriverServer.exe

step2:place the executable on your PATH

          將IEDriverServer.exe放置ruby安裝目錄下:C:\Ruby192\bin(視自己的安裝路徑而定)


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章