Hi,
To practice, I wanted to make a simple Blue Prism process that clicked each "Unfollow" button on a twitter page.
I thought I could do this by looking at the path of an element and iterating the number that identified the "Unfollow" button but I can't figure out how to do this.
For example let's say the first "Unfollow" button had the path value of "/HTML/BODY(1)/DIV(2)/DIV(1)" and the second had "/HTML/BODY(1)/DIV(2)/DIV(2)".
Is there a way to put a variable within the path and use a counter to iterate through each button? Kind of like the following psuedocode?
Counter = 1
UnfollowButtonPath = "/HTML/BODY(1)/DIV(2)/DIV({Counter})"
UnfollowButtonCount = 300
Loop UnfollowButtonCount times
{
Click UnfollowButton with Path == UnfollowButtonPath
Counter + 1
}
Or is there no way to dynamically change an element or have some kind of pattern recognition?