Issue with automation: use browser/app activity

Hi

Maybe you will have any ideas how to handle this problem.

The issue is:

I’m using an application and inside this application when I click a button “open” the pdf file opens in my internet browser.

I then would like to automate saving this file but the problem is that I’m not able to use “use browser” activity again because the link is temporary meaning that it will be different each time, I click the button “open”.

So my workflow is:

Inside the use browser activity I have “click” activity that clicks “open”.

When “open” is clicked the new window appears on the screen (ms edge with my pdf).

And now what I would do is use another use browser activity but the problem is that this link will be always different.

image

PS. In the settings I have selected DOWNLOAD PDF INSTEAD OF OPENING but it is opening it anyway and I don’t want to mess with it.

Any ideas?

Hi @anon40731888
Give url in double quotes like this

https://www.botsdna.com/

but I will not know the URL because it only shows when I click “open”

Check that if some part of the url is matching or not

Hi @anon40731888

Try giving in the url
https://www.deepl.com

Hope it helps!!

OK so lets say the link is: www.world.com/temp=2412412455.pdf

and then next time is www.world.com/temp=2412412456.pdf
and then next time is www.world.com/temp=2412412456.pdf

and the next time is www.world.com/temp=11112.pdf

SO I can’t do anything here:
image

Why would putting url in " " work?

Please explain I’m new :slight_smile:

Why would this work? could you please advise? I’m very new to this.

@anon40731888

You can give like this:
www.world.com/temp=*

If you want to open multiple documents then open other doc after closing the current one. Set the property of close as “Ifopenedbyappbrowser” in use application/browser activity.

Regards,

@anon40731888
Give like this
www.world.com/temp=*.pdf

I hope it helps!

@anon40731888

The Use Browser container accepts the string Data type.So, we need to give in " "

Hope it helps!!

You can try by giving the entire url value as “*”, this is going to attach itself to the active browser window.
[In this approach its best to make sure there is only one window for the browser open]

1 Like

@anon40731888
hi
you can use get Attribute activity instead of click
and get the link from it and save it in var and use this var as url

1 Like

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