Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

getting the css href links

0 views
Skip to first unread message

Mario Ruiz

unread,
May 25, 2009, 1:05:05 PM5/25/09
to
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/estilos/v4.x/v4.07/comun.css"
type="text/css" media="all" />
<link rel="stylesheet"
href="http://estaticos02.cache.el-mundo.net/elmundo/estilos/v4.x/v4.07/portada.css"
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
}
--
Posted via http://www.ruby-forum.com/.

0 new messages