public void OpenPageHistory(string browserType)
 {
     _browser = _browserFactory.GetBrowser(browserType);
     _browser.Maximize();
     _browser.GotoPage("main-page");
     var currPage = _browser.GetPage();
     currPage.Click("view-history-anchor");
     _browser.WaitForPageChange();
     var newPage = _browser.GetPage();
     Assert.That(newPage.Handle.Equals("view-history-page"),
         String.Format("Landed on wrong page: {0}"), newPage.Handle);
 }
 public void PerformValidMainPageSearch(string browserType)
 {
     _browser = _browserFactory.GetBrowser(browserType);
     _browser.Maximize();
     _browser.GotoPage("main-page");
     var currPage = _browser.GetPage();
     currPage.SetText("search-box", "archery");
     currPage.Click("search-button");
     var pageChanged = _browser.WaitForPageChange();
     Assume.That(pageChanged, "Page never changed from main search page");
     var newPage = _browser.GetPage();
     Assert.That(newPage.Handle.Equals("archery-page"), "error message");
 }