http://code.google.com/p/firewatir/downloads/list
所有文件都在上面:
Installation guide for FireWatir:
1.Install JSSh XPI using following steps:
firefox 插件,用firefox打开就可以了。
2.gem install firewatir.gem
命令:
require 'firewatir'
include FireWatir
ff = Firefox.new
ff.goto 'www.google.com'
ff.text_field(:name, 'q').set('keyword')
ff.button(:name, 'btnG').click
语法:
http://wtr.rubyforge.org/watir_user_guide.html
没有评论:
发表评论