Beispiel #1
0
        public IAssertSyntaxProvider Visible(string selector)
        {
            // Before
            _logger.LogPartialMessage("element with selector: " + selector + " to be v _logger.LogPartialMessageisible", true);

            // Execute
            if (!IsInDryRunMode)
            {
                _assertSyntaxProvider.Visible(selector);
            }

            // After
            return(this);
        }
        /*-------------------------------------------------------------------*/

        public bool Visible(string element)
        {
            _logger.LogPartialMessage("that element '{0}' is visible.", true, element);
            return(Check(() => _assert.Visible(element)));
        }