src/Concerns/WaitsForElements.php
public function waitForLink($link, $seconds = null)
    {
        $message = $this->formatTimeOutMessage('Waited %s seconds for link', $link);

        return $this->waitUsing($seconds, 100, function () use ($link) {
            return $this->seeLink($link);
        }, $message);
    }
public function waitForLink($link, $seconds = null)
    {
        $message = $this->formatTimeOutMessage('Waited %s seconds for link', $link);

        return $this->waitUsing($seconds, 100, function () use ($link) {
            return $this->seeLink($link);
        }, $message);
    }
public function waitForLink ( $ link , $ seconds = null ) { $ message = $ this -> formatTimeOutMessage ( 'Waited %s seconds for link' , $ link ) ; return $ this -> waitUsing ( $ seconds , 100 , function ( ) use ( $ link ) { return $ this -> seeLink ( $ link ) ; } , $ message ) ; }
Wait for the given link to be visible.

@param  string  $link
@param  int  $seconds
@return $this
@throws \Facebook\WebDriver\Exception\TimeOutException
Wait for the given link to be visible .