Изучаю Selenium WebDriver в месте с C# и пытаюсь найти XPath, при этом код выдает исключение

Исключение: OpenQA.Selenium.NoSuchElementException: "no such element: Unable to locate element: {"method":"xpath","selector":"//input[@class='input__control input__input mini - suggest__input']"} (Session info: chrome=91.0.4472.164)"

Мой код:

using System;
using OpenQA.Selenium;
using OpenQA.Selenium.Chrome;
namespace QA
{
    class Program
    {
        static void Main(string[] args)
        {
            var driver = new ChromeDriver("D:\\Project 1\\С#\\QA\\Driver");

            driver.Navigate().GoToUrl(@"https://www.yandex.ru/");

                IWebElement input = driver.FindElement(By.XPath("//input[@class='input__control input__input mini - suggest__input']"));
                input.Click();    
            Console.ReadLine();
        }
    }
}

Ответы (0 шт):