Attach Browser error in Assignment 1

i almost finished with assignment 1 but when i run main i get this error
Attach Browser ‘chrome.exe ACME’: Could not find the UI element corresponding to this


The closest matches found are:


Can you share current selector and closest match? Please use preformated text(</> in the above menu) to display < character or use image.


Hi @yahia1112
You are attaching that window which is changing dynamically for every WIID.
You can see url in attach window which contains WIID. For next it will become invalid because you have different WIID.

To avoid this-> edit selector and replace WIID with staric *
Staric means wild card it will except every WIID.

Hi @yahia1112

Welcome to UiPath community

Try to pass the selector like this

<html title='ACME System 1 - *' />


Hello @yahia1112

In this case, you can go to the property of Attach Browser activity. Then check in the selector if any dynamic value is present. For example, as you have used the individual WIID page in the selector also the WIID can be present. So you need to replace that value with wildcard “*”.


@yahia1112 Are you need any help

html app=‘chrome.exe’ title=‘ACME System 1 - Work Items’ /> <webctrl tag=‘BODY’ /
so this is the selector and it validates when i am on a workitems details page

but when i tried it like this it does not validate

html title=‘ACME System 1 - *’ /

Have you tried like this

<html title='ACME System 1 - *' />

Share the screenshot of the selector and Browser.

Have you open the browser in the background


yea i just removed the <> cuz it does not show the innertext idk how to write it like that sry

Share the screenshot @yahia1112


and this is when i used * it does not validate


Try with this selector

<html app='chrome.exe' title='ACME System 1 *' />

Its valid for both page but what are you doing it will help me. Can you elaborate your work

and this is when i used * it does not validate


that is what i get

i go to the workitems details page extract the clientinfo put it in a certain formula in sha1 online and get back the result and then update that work item

Background the acme browser should bee opened check out that


y i tried that selector it validated but i got this error

Attach Browser ‘chrome.exe ACME’: Invalid selector: . Expected a selector. Please make sure that you indicate a browser tab element.

CalculateClientSecurityHash (2).zip (982.8 KB)
please check this one it will be helpful for you. I think you are in right path but you are not able to handle different windows

ok ty i will look at it