I am trying to simulate click on an input box. When its clicked manually, a drop down auto suggestion box appears as suggestions about past searches. However, when I try to simu
You need to .focus() instead of .click()
.click()
document.getElementbyClassName("gb_cf")[0].focus(); //or document.getElementbyId("gs_taif50").focus();