code: public PageSnapshot highlight(WebElement element, Color color, int lineWidth) {
          try {
              image = ImageProcessor.highlight(image, new Coordinates(element, devicePixelRatio), color, lineWidth);
          } catch (RasterFormatException rfe) {
              throw new ElementOutsideViewportException(ELEMENT_OUT_OF_VIEWPORT_EX_MESSAGE, rfe);
          }
          return this;
      }
docs: Highlights WebElement within the page with provided color
  and line width.
  
  @param element WebElement to be highlighted
  @param color color of the line
  @param lineWidth width of the line
  @return instance of type PageSnapshot