コード例 #1
0
        public void AddElement_addsElementToElementList()
        {
            var elementLookup = new ElementLookup
            {
                PageName = "TestPage",
                Alias    = "TestElement",
                Id       = "testElement"
            };

            _seleniumBrowser.AddElement(elementLookup);

            Assert.AreEqual(1, _seleniumBrowser.GetElements.Count);
        }