I would like to extract data from a web page. A list would be ok. I want to extract links into a list and then iterate through them, clicking each one. I couldn't get what I wanted from the Helper Wizard so I used the recorder to click on 6 links, each in a different row (same column). Looking at the recorder output the selectors were:
a[Id="lnkImage"]:eq(0)
a[Id="lnkImage"]:eq(1)
a[Id="lnkImage"]:eq(2)
a[Id="lnkImage"]:eq(3)
a[Id="lnkImage"]:eq(4)
a[Id="lnkImage"]:eq(5)
When I looked at the structure in Google Inspector the last 3 were actually In a "child" table inside the main table but it didn't seem to matter to the recorder. (3,4,5 were children of link 2)
So my issue is I'm not sure how to fill out the table wizard to put these into the selector table wizard.
I think the structure is
<table>
link1
link2
link3
<table>
link4
link5
link6
</table
</table>
I may need two for each loops, but for now I would be happy to just extract the links in the master table. So I'm trying to figure out how to fill out the helper table.
I think the base URL is
div[Id="ctl00_ContentPlaceHolder1_pnlDocumentsBody"] > div > table
TIA