Thank you for your continued support.
I would like to request assistance from experts.
In June of this year, I developed a tool that automatically downloads files, and it functioned normally until mid-July. However, since August, I am unable to press the buttons on the pop-up.
The model I am using is UiPath Studio Flex Developer Named user, and I am developing in a closed state.
Open the WEB page > Press the button for the file you want to download > A confirmation pop-up appears, so press OK > !! A pop-up saying “Do you want to save the output file?” appears, but I cannot press the “Save” button due to the click instruction from “Find Element + Confirm Element.”
The error message states that “the element could not be found,” but the validation button indicates that validation is 100% complete when I check during element setup.
I am setting a time lag of 2-5 seconds before and after the execution for the click activity.
By the way, it seems that there have been no major renovations on the website, and there have been no changes to the specifications of the web page.
I have tried all the items in the error message, but it didn’t work as expected…
How can I activate this pop-up and press the “Save” button? Additionally, I would also like to obtain the text displayed in the same pop-up, but I am encountering the same error with the click activity stating “element not found.”
I would greatly appreciate your assistance.
Thank you very much.
Try adding additional Use Application/Browser activity. Indicate that Popup as a screen.
Then inside this Use Application/Browser activity, use click activity to click on that Ok Button
While trying to specify a popup using the Use Application/Browser activity, I was unable to specify the popup itself as the entire browser got selected. I am using Edge as the browser environment.
If you have any other suggestions, I would greatly appreciate it.
Thank you.
Maybe you can change your implementation approach. This would be a long-term approach, and you will never get into any UI change issues.
In the browser’s download settings, disable “Ask what to do with each download” so files always save automatically in the Downloads folder.
Then replace your Download sequence with the Wait for Download activity wrapped around your original file-downloadable click. It waits for the download to finish and returns a “FileInfo” output with the saved path. You can then move the file into any folder using the FullName/Name from “FileInfo”.
i might be wrong but i think that popup isnt part of the web page, its the Edge browser’s own dialog. That would explain why Use Application/Browser only grabs the whole browser and never the popup itself, and why you cant get the text from it either
and since it stopped working in august with no changes on the site, my guess is Edge updated itself and changed how that dialog is rendered. Your selector still validates at design time because the wizard sees it differently than the runtime does. Maybe worth checking edge://settings/help to see the version and when it updated, if it lines up with late july that would confirm it
if thats the case, i think Prashanth’s suggestion is the best way out, turn off “ask what to do with each download” in Edge settings so the file saves automatically, then use Wait for Download around your click. That removes the popup from the picture completely instead of fighting the browser ui every time it changes
Thank you all for your responses.
Based on the answers you provided, I tried various approaches and found that the server-side performance degradation and the addition of “refreshing the browser every time” during the fixing process complicated the situation.
Having resolved this, I will close the inquiry.
Thank you for your assistance.