Implemented waitForNotText