src/Concerns/MakesAssertions.php
/**
     * Determine if the given link is visible.
     *
     * @param  string  $link
     * @return bool
     */
Determine if the given link is visible.
@param  string  $link
@return bool
Determine if the given link is visible . @param string $link @return bool
public function seeLink($link)
    {
        $this->ensurejQueryIsAvailable();
        $selector = trim($this->resolver->format("a:contains('{$link}')"));
        $script = <<<JS
            var link = $("{$selector}");
            return link.length > 0 && link.is(':visible');
JS;
        return $this->driver->executeScript($script);
    }
public function seeLink ( $ link ) { $ this -> ensurejQueryIsAvailable ( ) ; $ selector = trim ( $ this -> resolver -> format ( " a:contains(' { $ link } ') " ) ) ; $ script = <<< JS             var link = $(" { $ selector } ");             return link.length > 0 && link.is(':visible'); 
JS ; return $ this -> driver -> executeScript ( $ script ) ; }
Determine if the given link is visible.
Determine if the given link is visible .