Does anyone know where we're at with reading body attributes in Firewatir? I
have code like the following:
$browser.document.body.getAttribute(attribute_name)
In FF, I'm getting: ArgumentError: wrong number of arguments (0 for 1)
I vaguely remember a while back that Firewatir didn't have this feature
yet...but I don't know where it's at today. It looks like maybe I'm just
missing an argument?
Here's a comparison from irb.
>From Firefox:irb(main):010:0> br.document.bodyArgumentError: wrong number of
arguments (0 for 1) from (irb):10:in `body'
>From IE:irb(main):009:0> br.document.body=>
#<WIN32OLE:0x3fb0934>irb(main):010:0>
br.document.body.getAttribute('ajax')=> "ajaxStop"
Any suggestions would be appreciated!
-- Jeff Fry
http://testingjeff.wordpress.comhttp://associationforsoftwaretesting.org
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Watir General" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---