added ability to wait for string to appear on the Screen