There is problem with "Multiple Attributes" and form.

I use FireWatir on Ubuntu Linux with FireFox.
when I run next code:

a = ff.form(:action => /.*/, :index => 1)
p a

gets:
/var/lib/gems/1.8/gems/firewatir-1.6.2/lib/firewatir/
MozillaBaseElement.rb:967:in `assert_exists': Unable to locate
element, using :name, {:action=>/.*/, :index=>1}
(Watir::Exception::UnknownObjectException)
        from /var/lib/gems/1.8/gems/firewatir-1.6.2/lib/firewatir/
MozillaBaseElement.rb:748:in `inspect'
        from test.rb:84:in `p'

But
a = ff.link(:text => /.*/, :index => 2)
work successfully

firewatir - 1.6.2
Mozilla Firefox 3.0.7
ruby 1.8.7 (2008-08-11 patchlevel 72)
Ubuntu 8.10

Can you help me ?

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to