public void GoToTheNewsPage()
 {
     new NewsPage(Driver.DriverInstance).ClosePopup(); // ubrat' ---------------------------------------------
     new HomePage(Driver.DriverInstance).clickNewsButton();
     Waiters.WaitForPageLoad();
     new NewsPage(Driver.DriverInstance).ClosePopup();
 }
        public void GoToYourCoronavirusPageAndClickHowToShare()
        {
            var newspage = new NewsPage(Driver.DriverInstance);

            newspage.ClosePopup();
            new HomePage(Driver.DriverInstance).clickNewsButton();
            Waiters.WaitForPageLoad();
            newspage.ClosePopup();
            newspage.ClickCoronavirusButton();
            Waiters.WaitForPageLoad();
            new CoronavirusPage(Driver.DriverInstance).ClickYourCoronavirusButton();
            Waiters.WaitForPageLoad();
            new YourCoronavirusPage(Driver.DriverInstance).ClickHowToShareButton();
            Waiters.WaitForPageLoad();
        }
 public void FillFormAndClickSubmit(Dictionary <string, string> dict)
 {
     new Form(Driver.DriverInstance).FillForm(dict);
     new HowToSharePage(Driver.DriverInstance).ClickSubmitButton();
     Waiters.WaitForPageLoad();
 }