public function isElementSelectable(string $name): bool
    {
        $position = $this->context->getElementPositionByText($name, $this->fields['listElement']);
        $checkbox = $this->context->findElement(sprintf($this->fields['tableCell'], $position, 1) . $this->fields['checkboxInput'])->getAttribute('disabled');

        return $checkbox !== 'disabled';
    }
public function isElementSelectable(string $name): bool
    {
        $position = $this->context->getElementPositionByText($name, $this->fields['listElement']);
        $checkbox = $this->context->findElement(sprintf($this->fields['tableCell'], $position, 1) . $this->fields['checkboxInput'])->getAttribute('disabled');

        return $checkbox !== 'disabled';
    }
public function isElementSelectable ( string $ name ) : bool { $ position = $ this -> context -> getElementPositionByText ( $ name , $ this -> fields [ 'listElement' ] ) ; $ checkbox = $ this -> context -> findElement ( sprintf ( $ this -> fields [ 'tableCell' ] , $ position , 1 ) . $ this -> fields [ 'checkboxInput' ] ) -> getAttribute ( 'disabled' ) ; return $ checkbox !== 'disabled' ; }
Check if checkbox left to link element if active.

@param string $name

@return bool 'true' for enabled and 'false' for disabled
Check if checkbox left to link element if active .