public static void waitUntilElementIsClickable ( final String elementLocator ) { logger . entering ( elementLocator ) ; By by = HtmlElementUtils . resolveByType ( elementLocator ) ; ExpectedCondition < WebElement > condition = ExpectedConditions . elementToBeClickable ( by ) ; waitForCondition ( condition ) ; logger . exiting ( ) ; }
Waits until element is cickable .