Have problem with Firewatir wait command that won't wait for the page
to load complete before proceeding other actions. Here is the sample
code I used:

require 'rubygems'
require 'firewatir'

browser = FireWatir::Firefox.new

browser.goto("http://www.google.com";)
browser.text_field(:name,"q").set "halo"
browser.button(:name,"btnG").click
browser.wait

if browser.text.include? "halo"
  puts "success"
else
  puts "fail"
end

I have search in the thread for relevant topics, but couldn't comes to
a solution. Is this a bug for firewatir? I am running on Firewatir
1.6.5, Mac OS.

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

You received this message because you are subscribed to 
http://groups.google.com/group/watir-general
To post: watir-general@googlegroups.com
To unsubscribe: watir-general+unsubscr...@googlegroups.com

To unsubscribe from this group, send email to 
watir-general+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.

Reply via email to