I was checking out the showLinks() method
http://wtr.rubyforge.org/rdoc/1.6.5/classes/FireWatir/Firefox.html#M000133
and checking out the source
# File firewatir/lib/firewatir/firefox.rb, line 782
def show_links
links = Document.new(self).get_links
puts "There are #{links.length} links"
index = 1
links.each do |l|
puts "link: name: #{l.name}"
puts " id: #{l.id}"
puts " href: #{l.href}"
puts " index: #{index}"
index += 1
end
end
it would be nice to have access to the get_links() method... Is there
a way to access this?
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
[email protected]
http://groups.google.com/group/watir-general
[email protected]