code: public static WebDriver getWrappedDriver(final WebDriver webDriver) {
  		if (webDriver instanceof EventFiringWebDriver) {
  			return ((EventFiringWebDriver) webDriver).getWrappedDriver();
  		}
  
  		return webDriver;
  	}
docs: Returns the wrapped {@link WebDriver} instance if the given one is an
  {@link EventFiringWebDriver}.
  
  @param webDriver
  the {@link WebDriver} instance
  @return the wrapped {@link WebDriver} instance