public void GivenIAmOnTheLandingPage(string profile, string environment) { ScenarioContext.Current["Browser"] = environment; webDriver = _bsDriver.Init(profile, environment); webDriver.Navigate().GoToUrl(Configurator.GetConfiguratorInstance().GetBaseUrl()); PageInteractionHelper.SetDriver(webDriver); }
public void GivenUserAtBrowserHomePage(string profile, string environment) { _driver = _bsDriver.Init(profile, environment); BasePage page = new BasePage(_driver); page.InitTest(profile, environment); }
public void BSNavigateToFindACourseHomePage(string profile, string environment) { _bsDriver = (BrowserStackDriver)ScenarioContext.Current["bsDriver"]; _driver = _bsDriver.Init(profile, environment); _driver.Url = Configurator.GetConfiguratorInstance().GetBaseUrl(); webDriver = _driver; PageInteractionHelper.SetDriver(webDriver); }
public void GivenUserAtBrowserHomePage(string profile, string environment) { _driver = _bsDriver.Init(profile, environment); BasePage page = new BasePage(_driver); page.InitTest(profile, environment); //driver = new ChromeDriver(); //driver.Manage().Window.Maximize(); //driver.Manage().Timeouts().ImplicitWait = TimeSpan.FromSeconds(10); }
public void GivenIAmOnTheLandingPage(string profile, string environment) { webDriver = _bsDriver.Init(profile, environment); webDriver.Navigate().GoToUrl(Configurator.GetConfiguratorInstance().GetBaseUrlVenues()); PageInteractionHelper.SetDriver(webDriver); }
public void GivenIAmOnTheGooglePage(string profile, string environment) { _driver = _bsDriver.Init(profile, environment); _driver.Navigate().GoToUrl("https://www.next.co.uk/"); //_driver.Navigate().GoToUrl("https://dfc-sit-findacourse-web.azurewebsites.net/"); }
public void GivenIAmOnTheGooglePage(string profile, string environment) { _driver = _bsDriver.Init(profile, environment); _driver.Navigate().GoToUrl("https://www.google.com/ncr"); }