Is it possible in selenium to write blocking commands?
I want to make a "clickAndWaitForAjax" command. It will click a button and wait until a div is filled with text from the server.
It is clear to me this can be done with two commands, but can it be done with one? How?