public void change_search_pos_count() { Console.WriteLine("ENTER BLOCK: установка величины поисковой выдачи https://yandex.ru/search/customize"); driver.Navigate().GoToUrl("https://yandex.ru/search/customize"); IWebElement element = null; Actions actions = null; element = driver.FindElement(By.CssSelector(".fieldset:nth-of-type(1) .field__content .radio:nth-of-type(2)")); actions = new Actions(driver); actions.MoveToElement(element).Click().Perform(); System.Threading.Thread.Sleep(YandexUtils.rndSleep()); element = driver.FindElement(By.CssSelector(".fieldset:nth-of-type(2) .field__content .radio:nth-of-type(4)")); actions = new Actions(driver); actions.MoveToElement(element).Click().Perform(); System.Threading.Thread.Sleep(YandexUtils.rndSleep()); element = driver.FindElement(By.CssSelector(".form__submit button[name='save']")); actions = new Actions(driver); actions.MoveToElement(element).Click().Perform(); System.Threading.Thread.Sleep(YandexUtils.rndSleep()); Console.WriteLine("EXIT BLOCK: установка величины поисковой выдачи https://yandex.ru/search/customize"); }