Updated javadoc of takeScreenShot()