Hello,
I need your help to find the good selector for my project.
Context: I want to automatize the brand configuration for the sellers of a marketplace. For this project I need to give the authorization for each sellers on a list of brand (from a excel spreadsheet)
For example, for a seller ABCD (fake example I create to explain better the problem), I want to give him the authorization for the brand NIKE.

Problem If I search this seller , it give me two choices (Seller ABCD and seller ABCDEFG) . My goal is to find the good selector in order to click to the correct checkbox (that it to say the one which contain the exact name of the seller “ABCD”).
Here is the selector to click to the checkbox associated to the first line :
table[Id="shopsAuthorizedToSell"] > tbody > tr > td > div > div > label > div[Class="mui-checkbox-icon"]
Here is the selector to click to the checkbox associated to the second line :
table[Id="shopsAuthorizedToSell"] > tbody > tr > td > div > div[Class="mui-checkbox checkbox"] > label > div:eq(1)
For both selectors, it works also without [Class="mui-checkbox checkbox"] which is apparently optional
Here is the selector where we can see the text associated
table[Id="shopsAuthorizedToSell"] > tbody > tr > td > div > span[Text="ABCD"]
I try this selector (in click link to a webpage ) but it doesn’t work :
table[Id="shopsAuthorizedToSell"] > tbody > tr > td > div > span[Text="ABCD"]~[Class="mui-checkbox-icon"]
Can you help me ?