コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CheckElementWrapper"/> class.
 /// </summary>
 /// <param name="elementWrapper">The element wrapper.</param>
 public CheckElementWrapper(ElementWrapper elementWrapper)
 {
     this.ElementWrapper = elementWrapper;
 }
コード例 #2
0
ファイル: AssertUI.cs プロジェクト: paulsuen/selenium-utils
        public static void IsElementNotInView(IElementWrapper wrapper, ElementWrapper element)
        {
            var isElementNotInView = new IsElementNotInViewValidator(element);

            EvaluateValidator <UnexpectedElementStateException, IElementWrapper>(wrapper, isElementNotInView);
        }