public void CheckContactsButton() { pageModel = new MainPageModel(driver); driver.Url = Urls.mainPage; string actRes = pageModel.FindContactsMenuBatton(). ClickOnContactsButton(). FindContactsMainLabel(). GetMainLabelText(); Assert.AreEqual("Наши контакты", actRes); }