public void Showtest() { foreach (var driver in Driver.Current) { AddressPage addressPagecs = new AddressPage(driver); addressPagecs.AddNewAddress(); AddNewAddressPage addNewAddressPage = new AddNewAddressPage(driver); AddressPageModel addressPageModel = new AddressPageModel(); addNewAddressPage.Map.GetElements(); addNewAddressPage.FeedDataToPageForm(addressPageModel); ConfirmationPage confirmationPage = new ConfirmationPage(driver); string id = confirmationPage.GetId().ToString(); confirmationPage.GoToAddressesPage(); addressPagecs.ShowRow(id); Urls urls = new Urls(); Assert.AreEqual(urls._confirmationPage + id, driver.Url); } }