Change the url in the browser already opened

Hi. Is there a way to change the url in the browser(already opened using “open browser” activity).
For e.g: https://example.com/home/ddd6220/data/0
I have reached this url using uiPath. But now in my case i want to change the last index of the page like 0,1,2…(e.g: https://example.com/home/ddd6220/data/1)

Note: We can’t go directly to that page(https://example.com/home/ddd6220/data/1) as it generates token after each login.

You can use Navigate To activity inside open browser or Attach browser container.

2 Likes

Please find the attached workflow

NavigateTo.xaml (5.8 KB)

1 Like

Hi,
You can have a counter which you can use in the url where only last value changes. So, you can give the counter at the end of your link.

Let us know if you need more info regarding this, this concept should help you in resolving the issue.

Regards,
Pavan H

1 Like

try this. let me know if it works. I have put the end value of the counter currently to 999. you will have to change it to whatever you need as i didnt know the end value of your sequenceNavigateTo.xaml (8.1 KB)
.

2 Likes

Okay. trying the above approaches.

1 Like

slight modification forgot to add an enter NavigateTo.xaml (7.9 KB)

2 Likes

It worked. Thanks a lot :+1::+1:

1 Like

thats great. kindly mark this as a solution so that other’s facing the same issue can refer to it at a later point :smiley:

1 Like

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