public ProductMenuPage NavigatePageAccount() { MenuPage menuPage = new MenuPage(webDriver); ProductMenuPage pageAccount = menuPage.PageLoginAccount1(); return(pageAccount); }
public ProductMenuPage PageLoginAccount1() { IWebElement clickAccount = webDriver.FindElement(By.Id("my-account")); clickAccount.Click(); ProductMenuPage pageAccount = new ProductMenuPage(webDriver); return(pageAccount); }