How can I go through an entire URL page, copy the link and put it into a CSV file?


I am trying to go through a webpage and copy the URL into a CSV file. For example, I would want to open up a webpage, such as Google, type in a keyword, such as “Jacket,” then go into each link, copy the URL, paste it into a data table, go back to the previous screen and do the same process for all of the links on this page.

I would also need to go to the next page by clicking the arrow at the bottom and do this for either a specific number of pages or until there are no more pages.

Is this something that can be done? I would love if someone could share a .xaml file that would do this so that I can learn how it can be completed. I have tried a few different ways, but haven’t been able to get it to work on my own.

Hi @Ben_94

I would suggest you to follow the basic Foundation Training on our free platform:

It will give you the perfect base on how to achieve this and similar tasks :slight_smile:

Hi @loginerror ,

I have gone through that, but I can’t find the right section which teaches this. Do you happen to have an example of a workflow which has this functionality?

The functionality you describe is very close to what the Data Scraping wizard does, so you should definitely look into it (there is a lot of threads about this particular option on the forum).

You can:

  1. First open your browser using Open Browser activity
  2. Use Data Scraping wizard to extract the information from 1 or more pages
    The output from the wizard will be a Data Table. It can be saved to a file with a Write Range activity.

I hope it puts you on the right track :slight_smile:

How to copy link from google search result and also how to use element exist if robot capthca - Help / Activities - UiPath Community Forum