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 AddVenueSteps() { if (!ScenarioContext.Current.ScenarioInfo.Tags.Contains("Regression")) { _bsDriver = (BrowserStackDriver)ScenarioContext.Current["bsDriver"]; } else { webDriver = (IWebDriver)ScenarioContext.Current["_driver"]; } }
public BasePage(IWebDriver driver) { _bsDriver = (BrowserStackDriver)ScenarioContext.Current["bsDriver"]; _driver = driver; PageFactory.InitElements(_driver, this); }
public BrowserStackSteps() { _bsDriver = (BrowserStackDriver)ScenarioContext.Current["bsDriver"]; }
public N11SingleScenarioSteps() { _bsDriver = (BrowserStackDriver)ScenarioContext.Current["bsDriver"]; }
public N11CartWishlistFunctionsSteps() { _bsDriver = (BrowserStackDriver)ScenarioContext.Current["bsDriver"]; }