public WebDriver getDriver(String browser, String url) {
        if(browser.equalsIgnoreCase("chrome")){
            System.setProperty("webdriver.chrome.driver", "C:/Users/Gufran/Desktop/Documents/PeoplenTech Documents/Class Notes(03-29-14) on Selenium-JAVA/chromedriver.exe");
            wd = new ChromeDriver();
        }else if(browser.equalsIgnoreCase("safari")){
            wd= new SafariDriver();
        }else if(browser.equalsIgnoreCase("firefox")){
            wd = new FirefoxDriver();
        }else if(browser.equalsIgnoreCase("internetexplorer")){
            System.setProperty("webdriver.ie.driver", "C:/Users/Gufran/Desktop/Documents/PeoplenTech Documents/Class Notes(03-29-14) on Selenium-JAVA/IEDriverServer.exe");
            wd = new InternetExplorerDriver();
        }

        wd.manage().timeouts().implicitlyWait(20, TimeUnit.SECONDS);
        wd.navigate().to(url);
        wd.manage().window().maximize();
        return wd;
    }