public function getScreenshot() {
    $options = array("full" => true, "selector" => null);
    $b64ScreenShot = $this->browser->renderBase64("JPEG", $options);
    if (($binaryScreenShot = base64_decode($b64ScreenShot, true)) === false) {
      throw new DriverException("There was a problem while doing the screenshot of the current page");
    }
    return $binaryScreenShot;
  }
public function getScreenshot() {
    $options = array("full" => true, "selector" => null);
    $b64ScreenShot = $this->browser->renderBase64("JPEG", $options);
    if (($binaryScreenShot = base64_decode($b64ScreenShot, true)) === false) {
      throw new DriverException("There was a problem while doing the screenshot of the current page");
    }
    return $binaryScreenShot;
  }
public function getScreenshot ( ) { $ options = array ( "full" => true , "selector" => null ) ; $ b64ScreenShot = $ this -> browser -> renderBase64 ( "JPEG" , $ options ) ; if ( ( $ binaryScreenShot = base64_decode ( $ b64ScreenShot , true ) ) === false ) { throw new DriverException ( "There was a problem while doing the screenshot of the current page" ) ; } return $ binaryScreenShot ; }
Returns the binary representation of the current page we are in
@throws DriverException
@return string
Returns the binary representation of the current page we are in