public void WhenIClickOnTheMyAccountLink()
 {
     MKHomePage homePage = (MKHomePage)ScenarioContext.Current["homePage"];
     IWebElement myAccountLoginLink = wait.Until(ExpectedConditions.ElementIsVisible(By.Id(homePage.myAccountHeaderButton.GetAttribute("id"))));
     myAccountLoginLink.Click();
     MKAccountLoginPage accountLoginPage = new MKAccountLoginPage(driver);
     IWebElement myAccountLoginPageElement = wait.Until(ExpectedConditions.ElementIsVisible(By.Id(accountLoginPage.emailInput.GetAttribute("id"))));
     Assert.IsTrue(myAccountLoginPageElement.Displayed);
     ScenarioContext.Current["accountLoginPage"] = accountLoginPage;
 }
 public void GivenIAmOnTheMKAccountLoginPage()
 {
     driver.Navigate().GoToUrl(MKAccountLoginPage.URL);
     MKAccountLoginPage accountLoginPage = new MKAccountLoginPage(driver);
     ScenarioContext.Current["accountLoginPage"] = accountLoginPage;
 }