I am learning selenium but I can't seem to click the google search button with it. What I am trying:
IWebDriver driver = new ChromeDriver();
driver.Url = "https://google.com";
IWebElement searchBar = driver.FindElement(By.Name("q"));
searchBar.SendKeys("Hello world!");
IWebElement searchButton = driver.FindElement(By.Name("btnK"));
searchButton.Click();
It fills the search bar with hello world properly but an exception while clicking the button: OpenQA.Selenium.ElementNotInteractableException: 'element not interactable