Issue in passing variables to dynamic selectors

Hi Everyone,
I am new to UIPath. I am trying to develop a demo task on flipkart website. What i am trying is i have multiple products in datatable. I want to search each product, open the first result link and add to cart. I am able to search all products using for each row but unable to open the first resulted links. for this i have used click activity.

My first product is “Color Block Men V Neck Black, Orange T Shirt”.
I am getting this selector for first product.

I want to Pass dynamic variable to selector, so that it will click on the first results of searched product.
My issue is when i am passing variable in selector] , it is not validating and thereby i am unable to open the first resulted searched product. kindly help me

1 Like

Sorry for the delayed response
Can I see the modified selector if possible