Uipath studio in Microsoft Edge robot cannot select [Save as] popup :(

During my workflow, I have to export some excel files and in the edge browser we encounter this popup, where the Save As button must be clicked.

image

For the popup “save as”, the diagram, selector and errors encountered are summarized in the attached excel sheet.

Summary save as error.xlsx (1.2 MB)

The robot encounters this error when trying to click either the inner/outer Save As text as follows:

Inner Text

Selector

Error

20.10.6+Branch.master.Sha.37657ef79003ea8751ac4efb35736eeeace8b2ce

Source: Click ‘text Save as’

Message: Could not find the UI element corresponding to this selector:
[1]
[2]
[3]

Search failed at selector tag:
[3]

Exception Type: UiPath.Core.SelectorNotFoundException

RemoteException wrapping UiPath.Core.SelectorNotFoundException: Could not find the UI element corresponding to this selector:
[1]
[2]
[3]

Search failed at selector tag:
[3]

Outer Text

Selector

image

Error

20.10.6+Branch.master.Sha.37657ef79003ea8751ac4efb35736eeeace8b2ce

Source: Click ‘text Save as’

Message: Could not find the UI element corresponding to this selector:
[1]
[2]
[3]

Search failed at selector tag:
[3]

Exception Type: UiPath.Core.SelectorNotFoundException

RemoteException wrapping UiPath.Core.SelectorNotFoundException: Could not find the UI element corresponding to this selector:
[1]
[2]
[3]

Search failed at selector tag:
[3]

How can we solve the issue to get the robot to click the Save As?

Thank you!

Hi,

For now, can you try to modify 1 to * at idx attribute in second line, as the following?

<wnd cls='Chrome_RenderWidgetHostHWND' title='Chrome Legacy Window' idx='*' />

Regards,

1 Like

Hello @Chaaza
Can you try by removing idx=‘1’ from second line of Your Selector.

wnd app=‘{{In_Browser1}}’ cls=‘Chrome_WidgetWin_1’ idx=‘*’
wnd cls=‘Chrome_RenderWidgetHostHWND’ title=‘Chrome Legacy Window’
ctrl name=‘Save as’ role=‘push button’ .

Set Property as Wait for Ready=Complete and Check Send window Checkbox.

Regards,
Saloni

Hello!!
Actually i’m going through the same situation !!
if you’ve already found a solution for this issue, can you please give me the tips !
Thank you !

Not sure if a solution has been found but removing ‘idx’ or using a wildcard for both of the ‘idx’ attributes should help. If you cannot get this to work, an alternative would be to use the “Wait For Download” activity. This is a scope activity where you put your activity to initate the download(i.e. Click Download)… after download has been initiated, the activity will monitor your download folder and wait for the next file downloaded. From there you could just then use ‘Move File’ to get your download to your preferred save destination. Hope this helps, Example below :