BitrixAQA.Selenium.Object_Repository.TO_General.Region_SearchedRow C# (CSharp) Method

Region_SearchedRow() public static method

Область найденной строки
public static Region_SearchedRow ( string Href, string Text ) : WebItem
Href string Ссылка в заголовке найденной строки
Text string Текст найденной строки
return BitrixAQA.Selenium.Framework.WebItem
        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 + "')]"), "Область найденной строки");
        }