Using the watir module, is there a way to show all the hyperlinks in a
DIV?
Can you please provide some code snippets?
sean_n wrote:
Using the watir module, is there a way to show all the hyperlinks in a
DIV?
Can you please provide some code snippets?
How about:
div_links = ie.div(:id, “some_id”).links
div_links.each { |l| puts l.to_s }
7stud – wrote:
sean_n wrote:
Using the watir module, is there a way to show all the hyperlinks in a
DIV?
Can you please provide some code snippets?How about:
div_links = ie.div(:id, “some_id”).links
div_links.each { |l| puts l.to_s }
This is really perfect to identify Divs.Works for me…
But how to click on each div (identified by DIV id )one at a time ?
My requirement is to click on each link & identify the output , compare
results & then move on to next div … n so on …
Please help.