src/Concerns/InteractsWithPages.php
public function dontSeeLink($text, $url = null)
    {
        return $this->assertInPage(new HasLink($text, $url), true);
    }
public function dontSeeLink($text, $url = null)
    {
        return $this->assertInPage(new HasLink($text, $url), true);
    }
public function dontSeeLink ( $ text , $ url = null ) { return $ this -> assertInPage ( new HasLink ( $ text , $ url ) , true ) ; }
Assert that a given link is not seen on the page.

@param  string  $text
@param  string|null  $url
@return $this
Assert that a given link is not seen on the page .