public void FindElementById_callSeleniumElementFactoryWithIdLocator()
        {
            _seleniumBrowser.FindElementById("testElement");

            _autoMoqer.GetMock <ISeleniumElementFactory>()
            .Verify(
                v =>
                v.Create(It.IsAny <IWebDriver>(), It.Is <By>(b => b.ToString() == "By.Id: testElement"),
                         It.IsAny <SeleniumBrowser>()));
        }