private ApplicationManager() { driver = new FirefoxDriver(new FirefoxBinary("C:\\Program Files\\Mozilla Firefox\\firefox.exe"), new FirefoxProfile()); baseURL = "http://localhost"; verificationErrors = new StringBuilder(); loginHelper = new LoginHelper(this); navHelper = new NavigationHelper(this, baseURL); groupHelper = new GroupHelper(this); contactHelper = new ContactHelper(this); waitHelper = new WaitHelper(this); }
private ApplicationManager() { Driver = new FirefoxDriver(); // if an error (couldn't start the browser as it was restarting to install updates), wait 30 sec and retry //Driver.Manage().Timeouts().ImplicitWait = TimeSpan.FromSeconds(3); //baseURL = "http://localhost/addressbook/"; Login = new Login(this); Navigator = new Navigation(this); GroupHelper = new GroupHelper(this); ContactHelper = new ContactHelper(this); }
private ApplicationManager() { FirefoxOptions options = new FirefoxOptions(); options.BrowserExecutableLocation = @"c:\Program Files\Mozilla Firefox\firefox.exe"; options.UseLegacyImplementation = true; driver = new FirefoxDriver(options); baseURL = "http://localhost:5555/"; loginHelper = new LoginHelper(this); navigator = new NavigationHelper(this, baseURL); groupHelper = new GroupHelper(this); contactHelper = new ContactHelper(this); }