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
next code:
p ff.form(:id, /delete_access34074/).exist?
html = ff.html
p html.scan(/id=\delete_access34074\/)
And I execute this:
$ ruby test.rb
false
[id=\delete_access34074\]
Why ?
--~--~-~--~~~---~--~~
You received this message because you are subscribed
Chen.
On Thu, Mar 19, 2009 at 2:35 PM, alexey s. radiact...@gmail.com wrote:
next code:
p ff.form(:id, /delete_access34074/).exist?
html = ff.html
p html.scan(/id=\delete_access34074\/)
And I execute this:
$ ruby test.rb
false
[id=\delete_access34074\]
Why
where is the id delete_access34074?
It's other page and form:
form action=user.pl method=post id=delete_access41599
input type=submit value=Отвязать
/form
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Watir