public static WebItem Region_SearchedRow(string Href, string Text) { return new WebItem(By.XPath("//div[@class='search-page']//a[contains(@href, '" + Href + "') and contains(text(), '" + Text + "')]"), "Область найденной строки"); }