コード例 #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());
 }