I am trying to visit "https://www.google.co.in" and want to enter the word "Googling" in the input text box and then click on the search button. The input text box has id "gs_htif0".
This statement is not working
driver.findElement(By.id("gs_htif0")).sendKeys("Googling");
This is working fine.
driver.findElement(By.name("q")).sendKey("Googling");