I have to Navigate to each page in a website and identify and navigate to the child links inside them.The child links can be present anywhere ,under various tabs etc.
I need to click on each link to see if it is working.
Please suggest how do we do it.
PS:Tried data extraction but it did not work.Find child elements is not returning anything
Hello @mudit,
You could try to get website source and keep it as string and with use of Regex or Substring search for elements having “http” or “www” inside html link code.
@mudit,
You need to install additional package UiPath.Web.Activities then use HTTP Request activity from it.
(I will show example based on www.uipath.com site):
Then go to Response tab
Mark to download source and choose path
This will save you a file with full source of website with all links inside of it:
Now you can get this file with Read Text File activity and assign everything into string and using Regex or Substring you can get each http site one by one
I am not taking about a single web page.I am saying i enter a website that span across 20 pages.Each page has almost 100 links available under various sections.Can this be done through this ?
Thanks