Skip to main content
Question

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

  • November 29, 2021
  • 1 reply
  • 105 views

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)

1 reply

Ashwin A.K
Forum|alt.badge.img+8
  • Navigator | Tier 3
  • 2445 replies
  • November 29, 2021

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings