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