Пример #1
0
        public void Goto(homelinks link)
        {
            switch (link)
            {
            case homelinks.Proposals:
                OpenLink("Proposals");
                break;

            case homelinks.News:
                OpenLink("News");
                break;

            case homelinks.Home:
                OpenLink("Home");
                break;

            case homelinks.Projects:
                OpenLink("Projects");
                break;
            }
        }
Пример #2
0
        public void Goto(homelinks link)
        {
            switch (link)
            {
            case homelinks.todayILearned:
                TodayILearnedLink.Click();

                break;

            case homelinks.News:
                ClickUntilTitleIs("News Archive", NewsLink);
                break;

            case homelinks.AbtEvents:

                AbtEventsLink.Click();
                break;

            case homelinks.aboutAbt:
                ClickUntilTitleIs("About Abt", AboutLink);
                break;
            }
        }