public isClickable ( string $label ) : boolean | ||
$label | string | Visible text or alt text. |
return | boolean | True if target present. |
public function isClickable($label)
{
return $this->isSubmit($label) || $this->getLink($label) !== false || $this->isImage($label);
}