public void SetUp()
        {
            Driver           = new ChromeDriver();
            _aboutPageObject = new AboutPageObject(Driver);
            string url = "http://localhost:4200/about";

            Driver.Navigate().GoToUrl(url);
        }
 public void Go_To_About_From_Posts_And_Check_H1_Text()
 {
     try
     {
         Driver.Navigate().GoToUrl("http://localhost:4200/posts");
         AboutPageObject about = _topMenuPageObject.RedirectToAbout();
         Assert.AreEqual("About author", Driver.Url);
     }
     catch (AssertFailedException afe)
     {
         FileLogHelper.Save(afe);
     }
 }
 public void Go_To_About_From_Home()
 {
     try
     {
         Driver.Navigate().GoToUrl("http://localhost:4200/home");
         AboutPageObject about = _topMenuPageObject.RedirectToAbout();
         Assert.AreEqual("http://localhost:4200/about", Driver.Url);
     }
     catch (AssertFailedException afe)
     {
         FileLogHelper.Save(afe);
     }
 }