public void uncheck ( String locator ) { getDispatcher ( ) . beforeUncheck ( this , locator ) ; this . uncheck ( ) ; validatePresenceOfAlert ( ) ; WebDriverWaitUtils . waitUntilElementIsPresent ( locator ) ; getDispatcher ( ) . afterUncheck ( this , locator ) ; }
The CheckBox uncheck function It invokes SeLion session to handle the uncheck action against the element . Waits until element is found with given locator .