public static WebDriver getWebDriver() {
        return WebDriverProvider.get();
    }
Gets the current Selenium WebDriver.

@return the {@link WebDriver} currently being used
primefaces-selenium/primefaces-selenium-core/src/main/java/org/primefaces/selenium/PrimeSelenium.java