src/Browser/BrowserRenderTrait.php
public function renderBase64($imageFormat, $options = array()) {
    $fixedOptions = $this->checkRenderOptions($options);
    return $this->command('render_base64', $imageFormat, $fixedOptions["full"], $fixedOptions["selector"]);
  }
public function renderBase64($imageFormat, $options = array()) {
    $fixedOptions = $this->checkRenderOptions($options);
    return $this->command('render_base64', $imageFormat, $fixedOptions["full"], $fixedOptions["selector"]);
  }
Renders base64 a page or selection to a file given by path
@param string $imageFormat (PNG, GIF, JPEG)
@param array  $options
@return mixed