예제 #1
0
        public void InsertValue_RestSharp() //вводим текст в поле Search
        {
            _driver.FindElement(insertValue).SendKeys("RestSharp");
            BasicClass.WaitElement(_driver, searchClick);

            _driver.FindElement(searchClick).Click();
        }
예제 #2
0
        public PricingPageObject GoToPricingPage()                  //переходим на страницу Pricing
        {
            _driver.FindElement(MainPageObject.pricingTab).Click(); //клик по вкладке Pricing
            BasicClass.WaitElement(_driver, MainPageObject.pricingTab);

            _driver.FindElement(MainPageObject.pricingTab).Click();

            BasicClass.WaitElement(_driver, MainPageObject.comparePlans);
            _driver.FindElement(MainPageObject.comparePlans).Click(); //выбор Сompare plans

            return(new PricingPageObject(_driver));
        }