code: public static boolean isSimilarToScreenshot(IElement element, File controlPicture, 
  			File toSaveAs) throws IOException, WidgetException {
  		return isSimilarToScreenshot(element, controlPicture, toSaveAs, .85);
  	}
docs: *
  Prereq: The page on which you are taking the screenshot is fully loaded
  
  Take a screenshot of the element identified by element and save the file as toSaveAs
  (Note that this file should be saved as a png).
  Test that the control picture, controlPicture, is both the same size as,
  and, has a similarity value greater than or equal to the default threshold of .85.
  
  @param element - the element to be tested
  @param controlPicture - the file of the picture that will serve as the control
  @param toSaveAs - for example, save the file at "testData/textFieldWidget/screenshot.png"
  @throws IOException
  @throws WidgetException