通过Chrome执行watir-webdriver
1.http://code.google.com/p/chromedriver/downloads/list 下载chromedriver驱动文件chromedriver.exe
2.把驱动文件放在chrome的安装目录
默认的安装目录如下:
C:\Documents and Settings\Administrator\Local Settings\Application Data\Google\Chrome\Application
3.在系统环境变量的path中添加:C:\Documents and Settings\Administrator\Local Settings\Application Data\Google\Chrome\Application
注意:勿追加chromedriver.exe