library/MinkWrapper.php
public function getHtmlSource()
    {
        try {
            $sSource = $this->getMinkSession()->getPage()->getContent();
        } catch (Exception $e) {
            sleep(1);
            $sSource = $this->getMinkSession()->getPage()->getContent();
        }
        return $sSource;
    }
public function getHtmlSource()
    {
        try {
            $sSource = $this->getMinkSession()->getPage()->getContent();
        } catch (Exception $e) {
            sleep(1);
            $sSource = $this->getMinkSession()->getPage()->getContent();
        }
        return $sSource;
    }
public function getHtmlSource ( ) { try { $ sSource = $ this -> getMinkSession ( ) -> getPage ( ) -> getContent ( ) ; } catch ( Exception $ e ) { sleep ( 1 ) ; $ sSource = $ this -> getMinkSession ( ) -> getPage ( ) -> getContent ( ) ; } return $ sSource ; }
Returns page html source

@return null|string
Returns page html source