Try the code below
$ie.links.collect { |link|
puts link.href
}

Thanks.
Wesley Chen.


On Thu, Mar 5, 2009 at 8:07 PM, TCBlues <[email protected]> wrote:

>
> Hallo,
> I have this on the html: <link rel="stylesheet" href="/Cad/css/
> sheetCP.css" type="text/css" media="screen, projection">
>
> How is possible to get access to this tag? I need to get the href.
>
> It's not possible through ie.link.
>
> Thanks in advance.
>
>
> >
>

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

Reply via email to