@edamo71 said in How to access to iframe elements if cross domain blocked?:
How to do that WITH BAS, USE EXECUTE JAVASCRIPT please?
nothing!
https://wiki.bablosoft.com/doku.php?id=how_to_search_for_element&s[]=selector#frames
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 :)