On 11/27/06, san <[EMAIL PROTECTED]> wrote:

Ya It Worked... But I can't Open The Links Again by

webs = ie.links
webs.each do |web|
  ie.goto(web)          # This Line Produces Error... I Also Tried
web.to_s
  output.puts(ie.html)  # output is a .html file to be opened in w mode
end


If you posted your error I could say more. In any case this will open all
links in separate windows

ie.links.each {|link| Watir::IE.start(link.href)}

In Fact I Wanna Save All The Linked html Pages in my HDD.


Saving pages with ie.html would not save pictures. You should use some other
tool to do it.
--
Zeljko Filipin
zeljkofilipin.com
_______________________________________________
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to