Prose\TargettedBrowserExpects::isNotBlank PHP Method

isNotBlank() public method

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