public void TestClickWaitUntilPost()
 {
     var indexPage = new IndexPage(Driver);
     Driver.Navigate().GoToUrl(IndexPage.Url);
     Assert.That(indexPage.IsPageLoaded());
     Assert.That(indexPage.AjaxyControlLink.ClickWaitUntilPost(Driver));
 }
 public void TestClickWaitForPageFalse()
 {
     var indexPage = new IndexPage(Driver);
     Driver.Navigate().GoToUrl(IndexPage.Url);
     Assert.That(indexPage.IsPageLoaded());
     Assert.Throws<PageNotLoadedException>(() => indexPage.AjaxyControlLink.ClickWaitForPage<IndexPage>(Driver));
 }
 public void TestClickWaitForPage()
 {
     var indexPage = new IndexPage(Driver);
     Driver.Navigate().GoToUrl(IndexPage.Url);
     Assert.That(indexPage.IsPageLoaded());
     Assert.DoesNotThrow(() => indexPage.AjaxyControlLink.ClickWaitForPage<AjaxyControlPage>(Driver));
 }