Help! I have a real-life example of some very strange behavior. This works just fine in IE but it is NOT working with FF for some reason:
require 'watir' Watir::Browser.default = 'ie' browser = Watir::Browser.new browser.goto "http://www.truckersedge.net" browser.image(:alt, "Members Login Here").click browser.text_field(:id, "ctl00_cphMain_txtUserName").set "blahblah" browser.text_field(:id, "ctl00_cphMain_txtPassword").set "blahblah" browser.button(:id, "ctl00_cphMain_btnSubmit").click browser.link(:text, "Cancel").click browser.image(:alt, "Members Login Here").click I got the following error...any ideas why this is happening? C:/Ruby/lib/ruby/gems/1.8/gems/firewatir-1.6.2/lib/firewatir/ MozillaBaseElement.rb:967:in `assert_exists': Unable to locate element, using :alt, "Members Login Here" (Watir::Exception::UnknownObjectException) from C:/Ruby/lib/ruby/gems/1.8/gems/firewatir-1.6.2/lib/firewatir/ MozillaBaseElement.rb:1112:in `click' from test.rb:13 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to watir-general@googlegroups.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 -~----------~----~----~----~------~----~------~--~---