removed waitForAjaxCompleted and waitForPageToBeMobified in favour of waitForCondition.