# Getting the css href links

**URL:** <https://www.ruby-forum.com/t/getting-the-css-href-links/168778>\
**Category:** Ruby\
**Created:** [May 25, 2009, 7:05pm UTC](https://www.ruby-forum.com/t/getting-the-css-href-links/168778 "2009-05-25T19:05:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tcblues](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/db5fbb/32.png) [@tcblues](https://www.ruby-forum.com/u/tcblues)\
**Post date:** [May 25, 2009, 7:05pm UTC](https://www.ruby-forum.com/t/getting-the-css-href-links/168778/1 "2009-05-25T19:05:00Z")

</div>

Using watir, how can I get the href links of the CSS in my pages:

These links are not among the results if I do something like:

require ‘watir’  
ie=Watir::IE.new()

ie.goto(“[http://www.elmundo.es](http://www.elmundo.es)”)  
ie.links.each {|link|  
puts link  
}
