rotifer
(rotifer)
February 8, 2023, 10:05am
1
HI! I am trying to scrape a website.
https://www.carousell.sg/search/"ipad%202022"?addRecent=true&canChangeKeyword=true&includeSuggestions=true&searchId=c0f9Js
The “Show More Results” button simply loads more results to the same webpage.
I search for the item. 48 results are return.
Click Show More Results. Another 48 results are added on , so now there are 96 results on the same page.
Click Show More Results button another time, and another 48 is appended (48+48+48, etc) .
In my automation I only get the first Show More Results to work properly so I got 96 rows instead of 228.
How do I get UiPath to click all instances of Show More Results, before scraping the data?
Anil_G
(Anil Gorthi)
February 8, 2023, 10:08am
2
rotifer:
the
@rotifer
Welcome to the Community
use a while loop with element exists and then a if condition with click on show more results…in condition of while give output of element exists…so that the loop runs till show more results button is visible…
after that perform the extraction
hope this helps
cheers
1 Like
hi @rotifer ,
i have created workflow for you .
product data.xlsx (17.3 KB)
product extract.xaml (16.5 KB)
cheers
1 Like
rotifer
(rotifer)
February 9, 2023, 3:01am
5
Thank you for the pointers!
1 Like
rotifer
(rotifer)
February 9, 2023, 3:04am
6
HI Sainath Thank you so much for the workflow! It gives me a better understanding of how to translate the high level intentions of the process into the technical aspects.
newbie here!
1 Like
system
(system)
Closed
February 12, 2023, 3:05am
7
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.