public void GivenIAmOnThePage(string pageName)
        {
            _valTechHomePage = ValTechHomePage.NavigateToHomePage(_driver);
            _valTechHomePage.AcceptCookies();

            if (pageName.Equals(ValTechHomePage.ContactUs))
            {
                _contactUsPage = _valTechHomePage.OpenContactUsPage();
            }
            else
            {
                if (_valTechHomePage.PageMenu.Displayed.Equals(true))
                {
                    _valTechHomePage.PageMenu.Click();
                    _wrapperComponent = _valTechHomePage.OpenWrapperComponent();
                    switch (pageName.ToLower())
                    {
                    case ValTechHomePage.Work:
                        _workPage = _wrapperComponent.OpenWorkpage();
                        break;

                    case ValTechHomePage.About:
                        _aboutPage = _wrapperComponent.OpenAboutPage();
                        break;

                    case ValTechHomePage.Services:
                        _servicesPage = _wrapperComponent.OpenServicesPage();
                        break;

                    default:
                        throw new ArgumentOutOfRangeException("Unknown page");
                    }
                }
                else
                {
                    //This is for when the page menu button is not displayed and
                    //page menu are across the top of the page
                    //It has not been tested yet
                    switch (pageName.ToLower())
                    {
                    case ValTechHomePage.Work:
                        _workPage = _valTechHomePage.OpenWorkpage();
                        break;

                    case ValTechHomePage.About:
                        _aboutPage = _valTechHomePage.OpenAboutPage();
                        break;

                    case ValTechHomePage.Services:
                        _servicesPage = _valTechHomePage.OpenServicesPage();
                        break;

                    default:
                        throw new ArgumentOutOfRangeException("Unknown page");
                    }
                }
            }
        }
 public void GivenIAmOnTheHompage()
 {
     _valTechHomePage = ValTechHomePage.NavigateToHomePage(_driver);
     _valTechHomePage.AcceptCookies();
 }