Пример #1
0
 public void GivenIDismissThePopup()
 {
     MKHomePage homePage = new MKHomePage(driver);
     IWebElement popUp = wait.Until(ExpectedConditions.ElementToBeClickable(By.Id(homePage.closePopup.GetAttribute("id"))));
     popUp.Click();
     ScenarioContext.Current["homePage"] = homePage;
 }
Пример #2
0
 public void GivenIAmOnTheMilesKimballHomepage()
 {
     driver.Navigate().GoToUrl(MKHomePage.URL);
     MKHomePage homePage = new MKHomePage(driver);
     ScenarioContext.Current["homePage"] = homePage;
 }