static public FirefoxDriver createFireFoxDriver(FirefoxProfile profile) {
        System.setProperty("webdriver.gecko.driver", "d:/home/tvedb/geckodriver.exe");
		
//        ProfilesIni allProfile = new ProfilesIni();
//        FirefoxProfile profile = allProfile.getProfile("tvedb"); 
//        profile.setPreference("browser.startup.homepage_override.mstone", "ignore");
//        profile.setPreference("startup.homepage_welcome_url.additional",  "about:blank");
        DesiredCapabilities caps = DesiredCapabilities.firefox();
        caps.setCapability("marionette", true);        
        caps.setCapability(FirefoxDriver.PROFILE, profile);
		
		FirefoxDriver driver = new FirefoxDriver(caps);
		return driver;
	}