Esempio n. 1
0
        public MyAccountPage ClickRegister()
        {
            var element = GetWebElement(By.Id(SELECTOR_ID_REGISTER_BTN));

            ClickElement(element);

            var MyAccountPage = new MyAccountPage(Driver);

            MyAccountPage.WaitUntilPageHasLoaded();

            return(MyAccountPage);
        }
Esempio n. 2
0
        public MyAccountPage GoToMyAccountPage()
        {
            var MyAccountBtn = GetWebElement(By.ClassName(SELECTOR_CLASS_MY_ACCOUNT_BTN));

            ClickElement(MyAccountBtn);

            var MyAccountPage = new MyAccountPage(Driver);

            MyAccountPage.WaitUntilPageHasLoaded();

            return(MyAccountPage);
        }