@ericarias said in Getting consistent results with element seletors:
What is the best method to use to make sure that the elements are always found.
Just avoid using automatically generated selectors by BAS.
Hi!
I click on element ">CSS> li .contents-2mQqc9 a[title*="https://captcha.bot/verify"]". There are several of them. How do I click on the last one?
@tarabukinivan 2mQqc9 - This generates a random sequence every time, it is not recommended to use it.
get element count first like this.

So you will have element count in variable [[ELEMENT_LENGHT]]
Then do minus 1 to that element count, because it is indexed from 0.
Set a new variable and do it like bellow,

Then when you want to access the last element, write;
CSS>a>AT>[[LAST_ELEMENT]]
this should be fine :)