title: Selenium Webdriver change screenshot preferences
body: <p>Or "NOT taking an entire page screenshot"</p>
  
  <p><strong>According to the documentation about screenshots</strong></p>
  
  <p>The driver makes a best effort to return a screenshot of the following, in order of preference:</p>
  
  <ol>
  <li>Entire page</li>
  <li>Current window</li>
  <li>Visible portion of the current frame</li>
  <li>The screenshot of the entire display containing the browser</li>
  </ol>
  
  <p>Is there any way to configure Selenium or pass an argument to <a href="https://code.google.com/p/selenium/source/browse/javascript/webdriver/webdriver.js#858" rel="nofollow">takeScreenshot</a> skip the "entire page" option?</p>
  
  <p>Most of the time I'd prefer less screenshot to more, and given that the entire page functionality is inconsistent across different browsers, I'd rather bypass the "best effort at entire page" entirely.</p>