Skip to main content

What would be the easiest/ quickest way to move from divs on one web page to text input fields on another.

 

In effect

 

imagine a long list of divs grouped by physical proximity and not in table.

Essentially all items are a few px apart 

 

 

I have a working solution by collecting them in an array and triggering a download of a CSV to cycle through (Chrome only)

Hi @Daniel Kendall​ ,

 

I'm not sure if this is what you are looking for, but if you wish to loop through items present inside div tags, you can craft an Xpath and loop through each item as long as it "exists".

 

Say the Xpath -> //div/@class='TCT'] is able to detect 10 items encased inside div tags.

 

You may assign a Counter to the Xpath and plug it into a Loop: While -> Object Exists, where the object being referenced is (//div(@class='TCT'])#$nCounter.Number:ToString$]

 

If you'd like to read more, I have penned a series on this topic which you can find here.

 

Kind Regards,

Ashwin A.K


Reply