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
}
<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
}