title: CutyCapt dont work with flash
body: <p>I am trying to capture some websites containing Adobe Flash elements with cutycapt with no luck.</p>
  
  <p>My PHP script:</p>
  
  <pre><code>$url=escapeshellarg($url);
  $filename=escapeshellarg($filenamebase);
  $format=escapeshellarg($format);
  $useragent=escapeshellarg($useragent);
  
  $cmd = "xvfb-run --server-args=\"-screen 0, ".$width."x".$height."x24\" CutyCapt --url=$url --out=$filename --out-format=$format --user-agent=$useragent --plugins=\"on\" --delay=5000 --javascript=$js";
  
  exec($cmd);
  </code></pre>
  
  <p>For exampe, if i want capture <a href="http://flashhry.cz/h/kingdom-rush" rel="nofollow">http://flashhry.cz/h/kingdom-rush</a> my script is running this cmd in shell:</p>
  
  <pre><code>xvfb-run --server-args="-screen 0, 1024x5000x24" CutyCapt --url='http://sk.search.etargetnet.com/cookie.php?eURL=http%3A%2F%2Fflashhry.cz%2Fh%2Fkingdom-rush' --out='./screens/http_flashhry.cz_h_kingdom-rush.png' --out-format='png' --user-agent='Mozilla/5.0 (Windows NT 6.3; rv:36.0) Gecko/20100101 Firefox/36.0' --plugins="on" --delay=5000 --javascript=on
  </code></pre>
  
  <p>output (<a href="http://prntscr.com/5pxc7e" rel="nofollow">http://prntscr.com/5pxc7e</a>) is without flash</p>
  
  <p>commands stdout was:</p>
  
  <pre><code>Xlib:  extension "RANDR" missing on display ":99".
  </code></pre>
  
  <p>no error output.</p>
  
  <p>I need it work on CentOS 6 server, but my Ubuntu desktop have similar results.</p>