Hi @Aymen_Ftiti,
I’ll suggest you, to save those 2-3 different selectors in notepad and see which attribute is keep changing, sometimes selector is having “idx” or “cls” attributes and their values are not same everytime.
Once you identified those attributes you should replace their values with wildcards to make selector dynamic.
have a look here to know more about wildcards
Try to make dynamic, shorter & meaningful selector, and give it a shot.