public static WebDriverWrapper initDriver (String driverName)
    {
        WebDriverWrapper driverWrapper = null;
        if (driverName.equalsIgnoreCase(FIREFOX))
            driverWrapper = new WebDriverWrapper(new FirefoxDriver());
        else if (driverName.equalsIgnoreCase(HTMLUNIT))
            driverWrapper = new WebDriverWrapper(new HtmlUnitDriver());
        else
            Assert.fail("Invalid driver configuration");

        driverWrapper.manage().deleteAllCookies();
        driverWrapper.manage().window().maximize();

        return  driverWrapper;
    }