src/Concerns/MakesAssertions.php
public function seeLink($link)
    {
        $this->ensurejQueryIsAvailable();

        $selector = addslashes(trim($this->resolver->format("a:contains('{$link}')")));

        $script = <<<JS
            var link = jQuery.find("{$selector}");
            return link.length > 0 && jQuery(link).is(':visible');
JS;

        return $this->driver->executeScript($script);
    }
public function seeLink($link)
    {
        $this->ensurejQueryIsAvailable();

        $selector = addslashes(trim($this->resolver->format("a:contains('{$link}')")));

        $script = <<<JS
            var link = jQuery.find("{$selector}");
            return link.length > 0 && jQuery(link).is(':visible');
JS;

        return $this->driver->executeScript($script);
    }
public function seeLink ( $ link ) { $ this -> ensurejQueryIsAvailable ( ) ; $ selector = addslashes ( trim ( $ this -> resolver -> format ( "a:contains('{$link}')" ) ) ) ; $ script =  <<<JS
            var link = jQuery.find("{$selector}");
            return link.length > 0 && jQuery(link).is(':visible');
JS ; return $ this -> driver -> executeScript ( $ script ) ; }
Determine if the given link is visible.

@param  string  $link
@return bool
Determine if the given link is visible .