I have a web page. i want to capture the URL of current page from the address bar and then click next button. Again capture the next URL from address bar and click next button again untill last and save the different urls captured in excel
Welcome back to the forums
Have you tried using the “Get Attribute” activity. Then update the selectors be dynamic for any URL.
I have a made a basic sample for you. Its designed for Google Chrome.
Main.xaml (5.3 KB)
Hopefully this helps
If the selector of the next button is same then you can use it in a loop.
You can either use Get attribute activtiy on the next button and get the url or after clicking the next button you can use “Get URL” activity to fetch the current url.