added ability to wait for view with label containing a substring