Im trying to scrape webpage using “Data Scraping” Feature, but when the robot reach page 2 it always click the wrong button then bounce back and scrape data from page 1 again until the data quantity meet the “Maxnumberofresult”.
I have tried to modify the selector and tried different browser.
This is the selector for next page that by default taken using “Data Scraping feature”(the selector that bounce between page 1 and 2):
I hope the issue is with the selector which you are using. Can you please refine your selector by using the Ui Explorer ?
To do this click on Ui Explorer → Indicate Element and you shall indicate the next page navigation button on the screen.
This will fetch you a list of attributes that can be selected.
Instead of the css-selector, please try to use more reliable ones (say aaname, innertext/parent ID if not dynamic etc). Look for the ones which have the keywords “Next” or “Next Page”. Then copy that to your activity’s Selector.
Pls clarify these queries
Where you able to see the data in Preview tab once before finishing the data extraction process
And did data extraction wizard asked for an option to choose next button to extract all the data all pages
Make sure the selector is set dynamic with wildcard symbol *
Because if you can see the data in preview and also chosen Yes for next button with proper wild card symbol, then it must be working fine
Try as per above suggestions and before doing that upgrade your UiPath.system.activities package and UiPath.UIAutomation.Activities package from design tab → Manage Packages → Project dependencies and upgrade those two packages and give a try