IE- default download location


I have set up a click activities :

This is a basically simple step in IE : Do you want to save/open file > Click save.

However if another person runs this robot the first time he usually gets another pop-up in b/w saying “Default download location”. This popup is a one time activity(if its clicked ok ; this pop-up wont appear in next executions).

Please help what activities/steps will I use here.


Hi @shrayud

U mean u need to handle both cases ?


Just use element exist activity for that default option, it will return a boolean variable and use if statement, if it is true then click else do nothing.

So, whenever if that default option appears, it will get handled.

1 Like

Yes Nived

Use the way as suggested by @Sahil_Garg1

it will works

The solution of @Sahil_Garg1 is certainly the most practical.

Wouldn’t it theoretically work with the WebDriver without using the GUI?
I’m not quite through with the tutorial yet, so I’m not sure.

Even I am wondering, if there is any other simple alternative to “IF” statement?

Hi @shrayud

Can u try to download the file via it’s url using download file activitiy ?


Nived N :robot:

Happy Automation :relaxed::relaxed::relaxed:

No that’s not possible

Well @shrayud
what else do you think should happen?

To catch deviations you have to build in an IF condition. Whether you make it with an “element Exist” or something else is then design decision.

What do you have in mind for an alternative?

Hi Shrayud,

Some options are specific to browser which needs to be handled specifically for that.

Like the save download button is only specific to IE.

You can use these methods, it will work very fine.