I'm using UI Vision and trying to make loop code. This is the main code:
{
"Command": "click",
"Target": "xpath=//*[@id=\"XXXXX\"]/div/div[2]/div/div[2]/div[3]/div/div/div/div[2]/section/article[2]/button",
"Value": "",
"Targets": [
"xpath=//*[@id=\"XXXXX\"]/div/div[2]/div/div[2]/div[3]/div/div/div/div[2]/section/article[2]/button",
"xpath=//article[2]/button",
"css=#XXXXX > div > div.profile-detail-right-panel > div > div.sidebar-panels > div.panel-container.requireLogin.selected > div > div.scroller.is-scrollable.scroll-content.scroll-scrolly_visible > div > div.profile-user-list-container > section > article:nth-child(5) > button"
],
"Description": ""
}
There is XXXX/article[2]
which means it's the 2nd loop.
My questions is, is there any fastest way to clone that code until 100x loops or until XXXX/article[100]
?
Thank you. Any help would be really appreciated.