title: How to take Screenshot of Website with Vimperator
body: <p>I use vim and Firefox + Vimperator, now I want to be able to create page screenshots with Vimperator by a single Vimperator command to create a thumbnail of websites later.</p>
  
  <p>Vimperator seems to not have a screenshot functionality. I know you can do it through the debugger or the developer Toolbar using <code>Shift+F2</code> to open it and then <code>screenshot --fullpage</code> and I even can open the Toolbar using Vimperator, but I didn't manage to input something there.</p>
  
  <p>I tried with the sequence <code>&lt;S-F2&gt;&lt;CR&gt;screenshot</code>, but after the Toolbar loads, Vimperator already ran all following commands (screenshot) as a sequence in normal mode.</p>
  
  <p>How can I achieve taking website screenshots using a single Vimperator command?</p>
  
  <hr>
  
  <p><strong>Update:</strong></p>
  
  <p>I experimented a bit more and almost achieved a workaround using this sequence:</p>
  
  <p><code>&lt;S-F2&gt;:js liberator.sleep(300)&lt;CR&gt;&lt;S-F2&gt;screenshot --fullpage&lt;CR&gt;</code> where</p>
  
  <ul>
  <li><code>&lt;S-F2&gt;</code> opens the Developer Toolbar</li>
  <li><code>:js liberator.sleep(300)&lt;CR&gt;</code> take a break to let firefox load the toolbar (could probably be lower than 300ms)</li>
  <li><code>&lt;S-F2&gt;</code> to again gain focus of the toolbar</li>
  <li><code>screenshot --fullpage</code> just input in the toolbar</li>
  </ul>
  
  <p>The problem that occurs now is that I can not 'enter' with <code>&lt;CR&gt;</code> as the toolbar does not recognize any input. Only if I manually enter a whitespace it realizes the screenshot input and lets me 'send' the command.</p>
  
  <p>Of course I am also open to other workarounds not using the Developer Toolbar.</p>