I wanna do a loop, and checks if there is this specific button else it will refresh until its there.
and if there is that button it will press it etc.!!
How about when it sees certain text?
You just need to change first command to what you need, like
storeText | id=myTextElement | variableText
and in while
while | ‘${variableText}’ == ‘your text to comapre wiith text from page’