I am not able to get Current page URL in chrome browser. What I Want: Wana Get URL Of Webpage Opened In New Tab
What I Tried:-
Using activity “Open browser” I visited on home page of amazon
Click on a button… which open a new tab… I want this page URL.
So using “Get Attribute” I tried to get URL of new page.
And its return last page URL (home page url)
Then What I did next ?
Then I tried “Get Attribute” activity inside “Get Active Window”… and its throw below error Attribute not supported by the current UiNode
How to attach the browser ? its select & URL everything is dynamically generated each time. Thats why I need its URL so I can use it inside other activities selectors. @aanandsanraj
@aanandsanraj
No … wildcard can not be used. Otherwise, selectors will not work. I want to use the URL as a selector in further activities. You should keep in mind that 2 tabs open on same domain name. If I use wild card and copy any text ? How will Uipath will define from which page I should grab the text
@Tech_Guru
When you Open the Browser then make use of Output variable of Datatype Browser. Once you want to continue the Work with the Browser you can use this Browser var again by setting IT on the attach Browser properties.
In Case of your scenario is more Tricky then recovering an unknown url for selector should also be retrievable. But lets First try with Browser var approach