public void Initialize()
 {
     BrowserFactory.InitBrowser("Chrome");
     BrowserFactory.GetDriver.Manage().Window.Maximize();
     BrowserFactory.GoToURL(ConfigurationManager.AppSettings["URL"]);
     scenario = featureName.CreateNode <Scenario>(ScenarioContext.Current.ScenarioInfo.Title);
 }
Пример #2
0
 public void GivenIAmOnTheBBCHomepage()
 {
     BrowserFactory.GoToURL(ConfigurationManager.AppSettings["URL"]);
 }