Tiffany Fodor wrote: > Hi again! > > I had previous versions of Watir installed (1.5.2 and 1.5.3) as well > as 1.6.0. My problem went away when I uninstalled all of the versions > and reinstalled 1.6.0. > Interesting. This shouldn't be necessary, so I'd like to learn more about these problems (from you or others). > I haven't done a ton of testing FireWatir yet, but here are a couple > of issues I've come across. > > 1. There doesn't seem to be support for the Watir::Browser.find > method in 1.6.0 with IE or Firefox. (Maybe you just haven't got to > this yet.) > This is true. There is no support for this command with Firefox. I've added this to the list. http://wiki.openqa.org/display/WTR/Firewatir+Compatibility > 2. Working with links using the link text may be different with > FireWatir. For example, my application's login page has a link with > text "Login". > > the command fox.link(:text, 'Login').click gives the following error: > > Watir::Exception::UnknownObjectException: Unable to locate element, > using :text, "Login" > from c:/ruby/lib/ruby/gems/1.8/gems/firewatir-1.6.0/lib/ > firewatir/MozillaBaseElement.rb:967:in `assert_exists' > from c:/ruby/lib/ruby/gems/1.8/gems/firewatir-1.6.0/lib/ > firewatir/MozillaBaseElement.rb:1125:in `click' > from (irb):58 > > but using a regex for the link text works - fox.link(:text, / > Login/).click > > I've used the DOM inspector in Firefox and found that there may be a > leading and trailing space around the text, so I tried fox.link(:text, > ' Login ').click but that doesn't work either. > > Is this just a difference in working with Firefox versus IE? Clicking > on the link using text 'Login' works fine in IE. I'll keep working on > this here to see if it's just something strange with our application. > I've seen reports of this before, but haven't not been able to reproduce. You provide some interesting details. Can you provide a page that we can reproduce this problem with?
--~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/watir-general -~----------~----~----~----~------~----~------~--~---