@@ -0,0 +1,1326 @@
+package framework;%0A%0A/**%0A * Created with IntelliJ IDEA.%0A * User: jhasmanyquiroz%0A * Date: 12/7/15%0A * Time: 2:39 PM%0A * To change this template use File %7C Settings %7C File Templates.%0A */%0Aimport org.openqa.selenium.WebDriver;%0Aimport org.openqa.selenium.firefox.FirefoxDriver;%0Aimport org.openqa.selenium.support.ui.WebDriverWait;%0A%0Aimport java.util.concurrent.TimeUnit;%0A%0Apublic class BrowserManager %7B%0A    private WebDriver driver;%0A    private WebDriverWait wait;%0A%0A    private static BrowserManager instance = null;%0A%0A    protected BrowserManager() %7B%0A        initialize();%0A    %7D%0A%0A    /**%0A     * Return the instance of BrowserManager.%0A     */%0A    public static BrowserManager getInstance() %7B%0A        if(instance == null %7C%7C instance.driver == null) %7B%0A            instance = new BrowserManager();%0A        %7D%0A        return instance;%0A    %7D%0A%0A    /**%0A     * Initializes the web driver and wait.%0A    */%0A    private void initialize()%7B%0A        driver = new FirefoxDriver();%0A        driver.manage().window().maximize();%0A        driver.manage().timeouts().implicitlyWait(20, TimeUnit.SECONDS);%0A        wait = new WebDriverWait(driver, 10, 1000);%0A    %7D%0A%0A    public void quitBrowser()%7B%0A        driver.quit();%0A    %7D%0A%0A    public WebDriverWait getWaitDriver()%7B%0A        return wait;%0A    %7D%0A%0A    public WebDriver getDriver()%7B%0A        return driver;%0A    %7D%0A%7D

Create the BrowserManager file