Added waitForIn/Visible command