You can use "Result" variables that are predefined in BAS. There are 9 of them.
If you need more you can use filesystem actions and create TXT or CSV files
to store any number you need. Similar to that you can use database for such
tasks too.
find/select nearest other element inside the loop?
-
I was able to do what I want by adding "Execute javascript on element" to loop and then self.parentElement.parentElement.querySelector('span').textContent
But I am still interested if something similar can be done with XPATH or CSS
edit: XPATH syntax is something like this
[[FOR_EACH_CSS]] >AT>[[CYCLE_INDEX]] >XPATH> ../following-sibling::td[1]now last thing I am missing is how to do it with CSS