示例#1
0
        public void start()
        {
            string BrowserType = ConfigurationManager.AppSettings["browser"];

            DriverContext.intiBrowser(BrowserType);
            DriverContext.Driver.Manage().Timeouts().ImplicitWait = TimeSpan.FromSeconds(10);
            DriverContext.Driver.Url = ConfigurationManager.AppSettings["url"];
        }