I’ve had this problem a couple of times, but this time, I am unable to find a workaround, so I hope someone out there can help me find a solution.
I am running a process on a website, and sometimes I need to dismiss/accept a cookie notification.
I use the “Element exist” activity to check, whether the I need to click on the cookie banner before continuing The problem is, that UIPath validates my selector regardless to whether the banner exists or not.
I use the following selector:
<html app='chrome.exe' title='Erhverv'/>
<webctrl id='coiBannerHeadline' tag='H2' aaname='Vi bruger cookies ' />
There are a number of unselected items as well - I have tried using almost every combination of items.
I have noted, that there are people that have had the same issue, but I have haven’t found a solution that worked for me so far.