コード例 #1
0
        public void Logout()
        {
            NavigateChooseAnAccount();
            CommonHelper.AcceptPopap();
            _chooseAnAccountPageModel.SignOut.Click();
            var chooseButton = _driver.FindElements(By.Id("account-chooser-link"));

            if (chooseButton.Any())
            {
                chooseButton.First().Click();
            }

            _driver.FindElement(By.Id("account-chooser-add-account")).Click();
        }