Hi Angrez, Thanks for your reply. But that is not my problem. The problem is that, after FireWatir clicks the 'Google Search' button, it doesn't wait for the result of the search and then the error will occur. But if I will include sleep 3 after $Browser.button(:name => 'btnG', :type => 'submit').click, FireWatir will execute the next command without error. Why is that?
Thanks, Logic Bomb -- You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to email@example.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general