public RemoteWebDriver getInstance() throws Exception {
		
		String browser = Browser.getInstance().getName();
        //Singleton
		//if (webDriver == null) {
            //if HUB:
			//DesiredCapabilities capabilities = new DesiredCapabilities();

			if (chrome.equals(browser)) {

				//capabilities.setBrowserName(DesiredCapabilities.chrome().getBrowserName());
                //capabilities.setPlatform(Platform.WINDOWS);
				//webDriver = new RemoteWebDriver(new URL("http://localhost:4444/wd/hub"), capabilities);

                path = driverPath + "chromedriver.exe";
                File file = new File(path);
                System.setProperty("webdriver.chrome.driver", file.getAbsolutePath());
                webDriver=new ChromeDriver();

			} else if (internerExplorer.equals(browser)) {

                //capabilities.setBrowserName(DesiredCapabilities.internetExplorer().getBrowserName());
                //capabilities.setPlatform(Platform.WINDOWS);
                //webDriver = new RemoteWebDriver(new URL("http://localhost:4444/wd/hub"), capabilities);

                path = driverPath + "IEDriverServer.exe";
                File file = new File(path);
                System.setProperty("webdriver.ie.driver", file.getAbsolutePath());
				webDriver = new InternetExplorerDriver();

            } else if (firefox.equals(browser)) {
                webDriver = new FirefoxDriver();
            }
		return webDriver;
	}