getting the css href links

M

Mario Ruiz

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
}
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,764
Messages
2,569,567
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top