Click Print or Cancel In Edge Browser

Hi all, I have issue with click on print or cancel button in microsoft edge browser. I have to indicate first if the pop up print is show, then click cancel on it, I try to use modern design Check App State and element exist, but every time I close the browser with new login session, the selector is not found, when I reindicate the button, it show the same selector as before. Anyone have idea what should I use to indicate it ? Thank you

Hi,

Basically, it’s necessary to replace non-fixed string with * in selector string.
It may be useful to use Repair button in Selector editor when re-indicate element after error.
Or edit selector string directly.

image

https://docs.uipath.com/studio/standalone/2023.4/user-guide/about-selectors

Regards,

Hi, but there no fixed string in the selector, and when I re-indicate it, it is the same selector

Hi,

It may be searching diffirent window.
How about using UseApplication/Browser (again) just before activity which throws exception, then re-put click activity inside it?

Regards,

Already try that, the window selector is okay, but the click selector is broken

Hi @Hendaryie_Tjoeng

please indicate the anchor for the pop in element exist if the output of element exist is true then click the element with the same selector used for element exist

Cheers!