Exemplo n.º 1
0
        /* FIND ACTIONS */

        public ElementProxy Find(string selector)
        {
            // Before
            _logger.LogMessage("Find element with selector: " + selector);

            // Execute
            ElementProxy elementProxy;

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

            // After
            return(elementProxy);
        }