Here I changed the interface of inputMethod.click().