Getting the active window using Java
<p>I would like to capture the active window screenshot using Java and have used the Robot class to achieve it.</p>

<p>However in case of a web browser, it returns the screenshot of only the part that is visible on the screen, whereas I want to actually take the screenshot of the entire web page like the Selenium Web driver.</p>

<p>I cannot use / call Selenium Web driver to achieve it , want to do it by either using the Robot class or any other utility which will help me achieve it.</p>
