using waitForTextChange