waitForAttribute instead of waitForVisible