How to get the url of a window that was dynamically generated

Hi all,

I am trying to get the url of a web page. The url is getting dynamically generated every time. However, title of the page was the same every time. So, i was able to attach to the page using this information.

Now i have to get the url of the page and do some processing to it. But i cannot find any activity to do that.

One idea i had was to find the selector of the address bar and then get the text of it. However, just felt there should be an easier way to do it.

Thanks in advance.


@Kishan_kedia use getattribute and pass href