30
Jul

Generic function to wait for an element to be visible

Following generic code can be used to wait for webelement to be visible on page: public static WebElement waitForElementToBeVisibleAfterRefresh(WebDriver driver, By locator) { WebElement webElement; try { webElement =...

Read More