public void CheckIfTagName_ArrayTest3() { var driverMock = new MockIWebDriver { FindElementsAction = () => new List <IWebElement>() { new MockIWebElement() { TagName = "a" } } }; var browser = new BrowserWrapper(driverMock, new MockISeleniumTest(), new ScopeOptions()); var element = browser.First("a"); AssertUI.CheckIfTagName(element, new[] { "frame", "iframe" }); }