'Cannot fill in a word in google flight website using selenium with C#

I trying to fill in the word "LHR" in the 'from' filed in Google flights website. But after typing the letter L the program exit and finished successfully without any errors. I wrote the following code:

        IWebDriver driver;
        driver = new ChromeDriver();
        driver.Manage().Window.Maximize();
        driver.Navigate().GoToUrl("https://www.google.com/travel/flights?hl=en-US");
        Thread.Sleep(2000);
        //Clear the from filed
        driver.FindElement(By.CssSelector("#i15 > div.e5F5td.BGeFcf > div > div > div.dvO2xc.k0gFV > div > div > input")).Clear();
         driver.FindElement(By.CssSelector("#i15 > div.e5F5td.BGeFcf > div > div > div.dvO2xc.k0gFV > div > div > input")).SendKeys("LHR");

The program ends in:

enter image description here



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source