Prose\UsingBrowser::click PHP Method

click() public method

Send a 'click' to the selected element
public click ( ) : SingleElementAction
return DataSift\Storyplayer\BrowserLib\SingleElementAction
    public function click()
    {
        $action = function ($element, $elementName, $elementDesc) {
            $log = usingLog()->startAction("click {$elementDesc} '{$elementName}'");
            $element->click();
            $log->endAction();
        };
        return new SingleElementAction($action, "click", $this->topElement);
    }