public static boolean isHeadless() {
        return ConfigProvider.getInstance().isWebdriverHeadless();
    }
Is this driver running headless? Meaning without a UI.

@return true if headless, false if not
primefaces-selenium/primefaces-selenium-core/src/main/java/org/primefaces/selenium/PrimeSelenium.java