The problem may be of the locator that you are using.
Just change the locator to By.xpath like this:
WebElement InputField = driver.findElement(By.xpath("//input[@type='search'"));
Hope this helps you!
Here, I give you working script which ...READ MORE
I'm trying to search for an element ...READ MORE
The two possible solution to the problem ...READ MORE
The better way to handle this element ...READ MORE
In order to use IE Driver you ...READ MORE
To Allow or Block the notification, access using Selenium and you have to ...READ MORE
It's much simpler to use:
#MyDiv123 > div.super
or ...READ MORE
Hello @Jino, its amazing to explore ways ...READ MORE
Hey Fawad, you can use this piece ...READ MORE