code: public static void setAdapter(final WebDriver driver) {
          AdapterContainer container = AdapterContainer.globalInstance();
          container.setScreenCaptureAdapter(new WebDriverScreenCaptureAdapter(driver));
      }
docs: can set null