平成24年7月26日木曜日
Watir installation With headless
1.Binary
yum install Xvfb
yum install firefox
2.Ruby lib
gem install headless
gem install selenium-webdriver
gem install watir-webdriver
3.Sample
$ irb
> require "rubygems"
=> true
> require "watir-webdriver"
=> true
> browser = Watir::Browser.new :ff
=> #
登録:
投稿 (Atom)