Replaced findElement with isElementPresent in assertions.