code: public static ElementSnapshot shootElement(WebDriver driver, WebElement element) {
          return shootElement(driver,element,false);
      }
docs: To be used when need to screenshot particular element.
  
  @param driver  WebDriver instance
  @param element WebElement instance to be screenshotted
  @return ElementSnapshot instance