Watir::IE.attach与IE7选项卡的设置关系
摘要:
昨天郁闷了半天,发现几个问题:先贴代码:require 'watir' @ie=Watir::IE.new @ie.goto "hao123.com"@ie.link(:id,"hao_img_logo").clickputs @ie.exists?puts Watir::IE.attach(:url,/www.baidu.com/).exists?@ie1 = Watir::IE.attach(:url,/www.baidu.com/)if (@ie1.exists? == 8)puts "true"@ie1.clo 阅读全文
posted @ 2010-08-04 10:50 张飞_ 阅读(1531) 评论(0) 推荐(0) 编辑