TestAutomationEssentials.Selenium.ElementsContainer.FindElements C# (CSharp) Méthode

FindElements() public méthode

public FindElements ( By @by, string description ) : IEnumerable
@by OpenQA.Selenium.By
description string
Résultat IEnumerable
        public IEnumerable<BrowserElement> FindElements(By @by, string description)
        {
            Activate();

            return
                GetSearchContext().FindElements(@by)
                    .Select(
                        (element, i) =>
                            new BrowserElement(this, @by, matches => matches.ElementAt(i), string.Format("{0}[{1}]", description, i)));
        }