public void Contact_FillAllOfFields_CheckInformationAfterSubmitFormWithPageObject()
        {
            var driver = new ChromeDriver().AddReportPortal();

            driver.Manage().Window.Maximize();
            driver.Navigate().GoToUrl("https://testpagefor.home.blog/contact/");
            var contactFormPage = new ContactFormPage(driver);

            contactFormPage.ContactByContactForm("name", "*****@*****.**", "comment");
            driver.WaitForClickable(contactFormPage.HeadingThree);
            var textAfterSubmit = driver.FindElement(contactFormPage.HeadingThree).Text;

            Assert.AreEqual(textAfterSubmit, "Message Sent (go back)");
            driver.Close();
        }
        public void Foo()
        {
            var driver = new ChromeDriver().AddReportPortal();

            driver.Manage().Window.Maximize();
            driver.Navigate().GoToUrl("https://testpagefor.home.blog/contact/");
            var contactFormPage = new ContactFormPage(driver);

            contactFormPage.ContactByContactForm("name", "*****@*****.**", "comment");
            driver.WaitForClickable(contactFormPage.HeadingThree);
            var textAfterSubmit = driver.FindElement(contactFormPage.HeadingThree).Text;

            Assert.AreEqual(textAfterSubmit, "Message Sent (go back)");
            var actions = new Actions(driver);

            actions.Click(driver.FindElement(By.CssSelector("#contact-form-2 h3 a"))).Perform();
            driver.Close();
        }