Пример #1
0
        public ProductMenuPage NavigatePageAccount()
        {
            MenuPage        menuPage    = new MenuPage(webDriver);
            ProductMenuPage pageAccount = menuPage.PageLoginAccount1();

            return(pageAccount);
        }
Пример #2
0
        public ProductMenuPage PageLoginAccount1()
        {
            IWebElement clickAccount = webDriver.FindElement(By.Id("my-account"));

            clickAccount.Click();
            ProductMenuPage pageAccount = new ProductMenuPage(webDriver);

            return(pageAccount);
        }