PMA_SeleniumBase::waitForElementNotPresent PHP Method

waitForElementNotPresent() public method

Wait for an element to disappear
public waitForElementNotPresent ( string $func, string $arg ) : boolean
$func string Locate using - byCss, byXPath, etc
$arg string Selector
return boolean Whether or not the element disappeared
    public function waitForElementNotPresent($func, $arg)
    {
        while (true) {
            if (!$this->isElementPresent($func, $arg)) {
                return true;
            }
            usleep(5000);
        }
    }