示例#1
0
        protected IWebElement[] GetItemElements()
        {
            IWebElement[] elements = ScopeLocator.GetElements();

            // TODO: Review to throw more detailed exception.
            if (elements.Length == 0)
            {
                throw ExceptionFactory.CreateForNoSuchElement(ComponentFullName);
            }

            return(elements);
        }
示例#2
0
 protected IWebElement[] GetItemElements()
 {
     return(ScopeLocator.GetElements());
 }