public void DeleteAccount() { Driver.Navigate().GoToUrl("https://testdo.bitwarden.com"); driver.Manage().Timeouts().ImplicitWait = TimeSpan.FromSeconds(10); LoginPage loginPage = new LoginPage(); NavBar navBar = new NavBar(); Settings settings = new Settings(); loginPage.EnterUserNameAndPassword(Data.GetNewAccountEmail(), Data.GetPassword()); loginPage.ClickLogin(); driver.Manage().Timeouts().ImplicitWait = TimeSpan.FromSeconds(10); navBar.ClickMyAccount(); driver.Manage().Timeouts().ImplicitWait = TimeSpan.FromSeconds(10); settings.ClickDeleteAccount(); settings.ConfirmDeleteAccount(Data.GetPassword()); Thread.Sleep(3000); Assert.AreEqual(Driver.Url, "https://testdo.bitwarden.com/#/", "URL doesn't match"); }