code: static Screenshot getScreenshot(File screenshot, File output) {
      String relativePath = createRelativeUri(screenshot, output);
      String caption = screenshot.getName();
      return new Screenshot(relativePath, caption);
    }
docs: Get a HTML representation of a screenshot with respect to {@code output} directory.