public void DeleteClient() { using (var driver = new ChromeDriver()) { driver.Manage().Timeouts().ImplicitWait = TimeSpan.FromSeconds(5); URLs.OpenUrl(driver); var loginPage = new LoginPage(driver); var navigationMenuPage = new NavigationMenuPage(driver); var addClientPage = new AddClientPage(driver); var clientSearchPage = new ClientSearchPage(driver); loginPage.Login(userName, password); navigationMenuPage.AddClientButtonClick(); addClientPage.FillOutContactInformation(customer); string id = addClientPage.GetClientId(); addClientPage.GetClientId().ShouldContain(id); clientSearchPage.EditeClientId(); addClientPage.EditeFirstLast(FirstName, LastName, Email); } }