public void CreateAccountWithInValidCredentials()
 {
     CreateAccountPage.CreateAccount(driver, CreateAccountPage.GetRandomEmail("Invalid"), CreateAccountPage.GetRandomPassword(6));
     WebDriverManager.WaitForElementById(driver, CreateAccountPage.CreateAccountErrorMessage);
     Assert.IsTrue(WebDriverManager.IsElementPresent(driver, CreateAccountPage.CreateAccountErrorMessage));
 }
 public void CreateAccountWithValidCredentials()
 {
     CreateAccountPage.CreateAccount(driver, CreateAccountPage.GetRandomEmail("Valid"), CreateAccountPage.GetRandomPassword(6));
     Assert.IsTrue(WebDriverManager.CurrentUrl(driver).Equals(SellCarPage.Url));
 }