[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

getting the css href links

Mario Ruiz

5/25/2009 5:05:00 PM

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...
type="text/css" media="all" />
<link rel="stylesheet"
href="http://estaticos02.cache.el-mundo.net/elmundo/estilos/v4.x/v4.07/portada...
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.elmund...)
ie.links.each {|link|
puts link
}
--
Posted via http://www.ruby-....