Click simultaneously in UIPATH


#1

Hi. I want to know if how do you click all links given in your search term.

For example,
I searched “How do you wash your hands?” in google. Then there are a lot of links.
I want to click all links retrieved and scrape it in a data.

Thank you


#2

Hi @pprincsipe,

You could achieve it by using the following strategies:

  1. Data Scraping and later on Click Text
  2. Get Ancestor activity then Click element

#3

Hi @pprincsipe, does it has to be done simultaneously?
If you need to scrape the result URL later, wouldn’t it better to click one the scrape the result, then go to the next one?


#4

Hi @acaciomelo ,

We’re using the Click Text if the text is constant or fixed, right?
What if it is not constant?


#5

Hi @pprincsipe,

It will get the text from the Data Scraping activity and later you may assign the result to a variable. Therefore, you will use this variable on the Click Text activity.


#6

Hi,
You can use dynamic selector in the click text activity for selecting the consecutive links. But data scraping would be better as it fetches all the links from different pages.
Thanks.


#7

What if the link cannot be read by using data scrape? :frowning:


#8

When you scrape data from the web you will get an option to take the URL as well.
You can then open all those in a loop and it will be dynamic.

I’m not sure what you mean by the case : cannot read the URL. i guess it will.
Can you give more details if the above is not possible, will be great to have a look.


#9

There are times where the website cannot be read using the data scrape. Like for example the website is restricted. So the website or link is not public. :frowning: