Selenium::WebDriver::Error::WebDriverError:Unable to find standalone executable解决办法
2014-08-22 17:29
417 查看
情况描述:
在Watir-Webdriver环境下运行脚本报错(红色标记部分):
C:\>irb
irb(main):001:0> require 'watir-webdriver'
=> true
irb(main):002:0> Watir::Browser.new :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(视自己的安装路径而定)
在Watir-Webdriver环境下运行脚本报错(红色标记部分):
C:\>irb
irb(main):001:0> require 'watir-webdriver'
=> true
irb(main):002:0> Watir::Browser.new :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(视自己的安装路径而定)
相关文章推荐
- Selenium::WebDriver::Error::WebDriverError:Unable to find standalone executable解决办法
- (org.openqa.selenium.WebDriverException: Unable to launch the app: Error: Trying to start logcat capture but it's already started! )错误解决办法
- 解决: selenium webdriver unable to find Mozilla geckodriver
- Unable to get browser (Selenium::WebDriver::Error::NoSuchWindowError)
- 转:python 3.4 error: Microsoft Visual C++ 10.0 is required(Unable to find vcvarsall.bat)解决办法,自研亲测可行
- error: Setup script exited with error: Unable to find vcvarsall.bat解决办法
- Android中出现Error:In <declare-styleable> FontFamilyFont, unable to find attribute android:font 解决办法
- 解决org.openqa.selenium.WebDriverException: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms org.springframework.beans.BeanInstantiation
- python安装第三方库,报“error: Microsoft Visual C++ 10.0 is required (Unable to find vcvarsall.bat).”错误,解决办法
- python 3.4 error: Microsoft Visual C++ 10.0 is required(Unable to find)亲测解决办法
- jenkins里跑selenium webdriver,Chrome浏览器不能打开&&unknown error: unable to discover open pages
- unable to find valid certification path to requested target或Certificate chaining error的解决办法
- 记录一下解决webdriver启动浏览器报“Unable to find a free port”问题的方法
- Selenium2学习-038-firefox、webdriver版本不对称问题解决:org.openqa.selenium.firefox.NotConnectedException: Unable to connect to host 127.0.0.1 on port 7055
- Error while preforming database login with the sql driver Unable to create connection解决
- Yii “CDbConnection failed to open the DB connection: could not find driver"解决办法
- Unable to find a javac compiler错误之解决办法
- Selenium的WebDriver打开IE失败的解决办法
- unable to find the wrapper "https"错误解决办法
- Unable to find the wrapper "https"错误的解决办法