How to get hyperlink of an tag



How to get a url(hyperlink) of an pdf in website.




Could you please be clear on your question?

Also, the topic is in the wrong area (Moved to the right one).



From an website, I need to extract the url of an tag(datasheet). How to extract the URL of an tag.

Using Get text activity we will get text. How we can get url of and tag(which i marked yellow in the below screen shoot)?



Use get attribute Activity and in the properties set ,

  • Attribute to “href”
  • Selector to the anchor tag from which the hyperlink has to be retrieved
  • Result to a variable.

When you run, the result variable will have the hyperlink.
Hope this is helpful.


@Madhavi thank-you… Its working