@Before
  public void resetVisualComparer() {
    visualComparer = new VisualComparer(client);
    visualComparer.setRefreshAfterResize(true);
    visualComparer.setScreenResolutions(
        new ScreenResolution[] {new ScreenResolution(1024, 768), new ScreenResolution(1280, 1024)});

    // Map<String, String> uiStringReplacements = new HashMap<String, String>();
    // uiStringReplacements.put("studioVersion","(Build information removed)");
    // visualComparer.setUIStringReplacements(uiStringReplacements);

    visualComparer.setWaitforJQueryTimeout(1000);
    visualComparer.enableReportGeneration("target/surefire-reports/visual-regression-reports");
  }
  protected void assertUIMatches(String id) {

    visualComparer.assertUIMatches(id, "src/test/resources/data/baseline-screenshots");
  }