Prose\TargettedBrowserExpects::isBlank PHP Метод

isBlank() публичный Метод

public isBlank ( )
    public function isBlank()
    {
        // what are we doing?
        $log = usingLog()->startAction("{$this->elementDesc} '{$this->searchTerm}' must be blank");
        // get the element
        $element = $this->getElement();
        // test it
        if (strlen($element->attribute("value")) > 0) {
            throw new E5xx_ExpectFailed(__METHOD__, $this->searchTerm . ' is blank', $this->searchTerm . ' is not blank');
        }
        // all done
        $log->endAction();
        return true;
    }