Wonderful .. can you create a patch and send to it? Or you can create a JIRA ticket for the same and send this code in comment. will add this to FireWatir.
Thanks, Angrez On Wed, Jan 13, 2010 at 3:09 PM, basu <[email protected]> wrote: > > I tried something like this , it works for me :) > > class FireWatir::Element > > def css_color() > assert_exists > jssh_command = "var obj = #{element_object}; var val = > document.defaultView.getComputedStyle(obj,null).getPropertyValue > ('color');val;" > jssh_socket.send("#{jssh_command}\n", 0) > read_socket() > end > > end > > On Jan 12, 6:19 pm, basu <[email protected]> wrote: > > Hi, > > For IE , i can retrieve CSS properties of a HTML object say link as > > link.document.CurrentStyle.color , is there any way to read CSS > > properties in Firefox? > > > > Thanks > > - Basu > > -- > 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 >
-- 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
