Example #1
0
        public ElementProxy FindMultiple(string selector)
        {
            // Before
            _logger.LogMessage("Find multiple elements with selector: " + selector);

            // Execute
            ElementProxy elementProxy;

            if (!IsInDryRunMode)
            {
                elementProxy = _actionSyntaxProvider.FindMultiple(selector);
            }
            else
            {
                elementProxy = new ElementProxy(CommandProvider, () => new WbTstrElement(selector));
            }

            // After
            return(elementProxy);
        }