Forum: Ruby getting the css href links

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Mario R. (Guest)
on 2009-05-25 21:05
Using watir, how can I get the href links of the CSS in my pages:

<link rel="stylesheet"
href="http://estaticos01.cache.el-mundo.net/elmundo/esti...
type="text/css" media="all" />
<link rel="stylesheet"
href="http://estaticos02.cache.el-mundo.net/elmundo/esti...
type="text/css" media="all" />

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

require 'watir'
ie=Watir::IE.new()

ie.goto("http://www.elmundo.es")
ie.links.each {|link|
  puts link
}
This topic is locked and can not be replied to.