public void TestThatPageExists(IInvokable page) { page.Invoke(); var pageClassName = page.GetType().ToString(); Assert.IsTrue(page.Exists(), "Page should exist: " + pageClassName); Console.WriteLine(pageClassName + "Done. Current title is: " + WebBrowser.Driver.Title); }