[Wtr-general] get the meta tag out of a page
Paul Rogers
paul.rogers at shaw.ca
Mon Aug 28 15:03:39 EDT 2006
it sounds like there is enough interest in this to add it as regular watir method:
ie.meta(xxx) # not sure what the xxx would be at the moment....
Bret and myself have been discussing ways to add experimental features, this sounds like a good candidate for that. Bret is likely to expand on this soon.
Paul
-------------- next part --------------
Alien Ruby wrote:
(..)
>
> But, my other question is why '...outerHTML.getContents' or
'...outerHTML.getText' or some similar functions cant just spit out the
value/content?
How about using something like this:
meta = $ie.document.getElementsByTagName( 'meta' ).item(0)
puts meta.getAttribute('content')
~~ Egil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/wtr-general/attachments/20060828/ebda0b21/attachment.html
-------------- next part --------------
_______________________________________________
Wtr-general mailing list
Wtr-general at rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
More information about the Wtr-general
mailing list