BitrixAQA.Selenium.Object_Repository.TO_AdminPanel.Button_ComponentSelect C# (CSharp) Метод

Button_ComponentSelect() публичный статический Метод

Пункт выпадающего меню Компоненты
public static Button_ComponentSelect ( string componentName ) : WebItem
componentName string название компонента
Результат BitrixAQA.Selenium.Framework.WebItem
        public static WebItem Button_ComponentSelect(string componentName)
        {
            return new WebItem(By.XPath("//div[@class='bx-core-popup-menu bx-core-popup-menu-bottom bx-core-popup-menu-level0 bx-core-popup-menu-no-icons' and contains(@style, 'display: block;')]" +
                "//span[@class='bx-core-popup-menu-item-text' and contains(text(), '" + componentName + "')]"), "Пункт выпадающего меню компоненты " + componentName);
        }