Get the link inside it

When I click the Id no in my web page it goes to different page…

That means the Id no in my web is hyperlink

How to get the link of the new page without opening it

How get the link by getting its any of the attribute it has?

1 Like

@Sweety_Girl
you can use get attribute activity or data scrapping to extract url.
image

1 Like

Through url you will be getting the curent page url

Hey @Sweety_Girl

Use the get attribute, and click on the indicate on screen, and identify the element that you need to get the link of. Then try to get the URL…

Let me know whether that helps…

Yup… I got the Url of the current page… but I actually need the link for which it is hyperlinked

Hello @Sweety_Girl
Indicate the HyperLink using Get Attribute Activity and select
"href" Attribute as shown in the below image

url

Let me know if it works or not !!

2 Likes

Hi @Sweety_Girl,
If you want the url for more then one ids use Data scrapping Activity else you can get is using Get Attribute activity.

Hi @sweety_Girl,

@vickydas is absolutely correct.
"href" attribute holds the value of the URL in a hyperlink. So you need to give the selector of the hyperlink and then fetch the href attribute using Get Attribute activity. Hope it works.

I dint find any attribute like “href”

Tried this, I am getting empty string

1 Like

Hello @Sweety_Girl
First indicate the hyper link than you’ll get updated attribute options and then select href

1 Like

Yup did it… But I didn’t get attribute like href in that particular link… Though I tried using href and printed the value in msg box… I am getting empty string

1 Like


No property like href

If your site is not confidential, could you please share the link?

Just typed Wikipedia in google…

https://www.google.com/search?q=wikipedia&rlz=1C1GCEU_enIN835IN835&oq=wili&aqs=chrome.1.69i57j0l5.2223j0j7&sourceid=chrome&ie=UTF-8

Are you going to change the link frequently? or it’s constant.

Constant

Then Change the selectors in Get Attribute


and Change the value to “aaname”
image

This is what I need

@Palaniyappan

Help this out

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.