Esempio n. 1
0
        public static void IsNotChecked(this IOperationRunner <IElementWrapper> operationRunner)
        {
            operationRunner.TagName("input", "Function IsNotChecked() can be used on input element only.");
            operationRunner.Attribute("type", new[] { "checkbox", "radio" }, failureMessage: "Input element must be type of checkbox or radio.");

            var IsNotChecked = new IsNotCheckedValidator();

            operationRunner.Evaluate <UnexpectedElementStateException>(IsNotChecked);
        }