Change in checkIfElementOnPage method - don't raise NoSuchElementException