title: Selenium- screenshot of visible part of page
body: <p>Is there a way to get Selenium WebDriver to take screenshot only of the visible part of the page for PhantomJS? I've browsed the source and there is no API AFAICT. So is there a trick to do that somehow? </p>
  
  <p>EDIT: Chrome already snaps only visible part, so removed it as part of question.</p>