Element Exist is not working as expected

Hi Everyone,

I am having an issue with my Element Exist activity and is not working as expected.
I need to execute click activity if the element is found. Below is my code of the selector
>

<webctrl css-selector='body&gt;div&gt;div&gt;div&gt;header&gt;div&gt;span&gt;div&gt;ul&gt;li&gt;span&gt;button&gt;div&gt;span&gt;div&gt;span' parentid='*:236;a' tag='SPAN' class='uiImage' />

I tried to search for a similar question in the community but none of the answers is resolving the issue.

Thanks
Avesh Lakha

Kindly use the other attributes for the selector. It may help

@avesh_lakha

Open selector on UiExplorer and click indicate screen and recapture selector here. you will see a lot of attribute of selectors on UiExplorer. Select brower.exe and webctrl parent id attribute. This should work.

Regards
Anand

I am already using the parent and browser attributes.

<html app='chrome.exe' title='Home | Salesforce' />
<webctrl css-selector='body&gt;div&gt;div&gt;div&gt;header&gt;div&gt;span&gt;div&gt;ul&gt;li&gt;span&gt;button&gt;div&gt;span&gt;div&gt;span' parentid='oneHeader' tag='SPAN' />

I have tried using different attributes but still the result is same.