コード例 #1
0
        public static void NotContainsElement(this IOperationRunner <IElementWrapper> operationRunner, string cssSelector, Func <string, By> tmpSelectMethod = null)
        {
            var NotContainsElement = new NotContainsElementValidator(cssSelector, tmpSelectMethod);

            operationRunner.Evaluate <MoreElementsInSequenceException>(NotContainsElement);
        }
コード例 #2
0
ファイル: AssertUI.cs プロジェクト: paulsuen/selenium-utils
        public static void NotContainsElement(IElementWrapper wrapper, string cssSelector, Func <string, By> tmpSelectMethod = null)
        {
            var notContainsElement = new NotContainsElementValidator(cssSelector, tmpSelectMethod);

            EvaluateValidator <MoreElementsInSequenceException, IElementWrapper>(wrapper, notContainsElement);
        }