updated waitForElementPresent to not show the 'expected' part in case of a timeout.