title: WebDriver not detecting input textbox, throws ElementNotInteractableException: element not interactable
body: <p>I've written some code to send input to a textbox as shown below :</p>
  
  <p><a href="https://i.stack.imgur.com/5yhQk.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/5yhQk.png" alt="enter image description here"></a></p>
  
  <p><a href="https://i.stack.imgur.com/fZrRl.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/fZrRl.png" alt="enter image description here"></a></p>
  
  <p><a href="https://i.stack.imgur.com/tWi3E.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/tWi3E.png" alt="enter image description here"></a>
  However during execution, the webdriver returns ElementNotInteractableException even though it shows the input type is a textbox.</p>
  
  <p>I've tried to send input using the following ways but have been unsuccessful, seeking advice, thanks!:</p>
  
  <p>1) </p>
  
  <pre><code>driver.findElement(By.xpath("//input[@name='bkg_no']")).sendKeys("ABCDE9000333");
  </code></pre>
  
  <p>2)</p>
  
  <pre><code>String bkg = "ABCDE9000333"
  WebElement bkgNo = driver.findElement(By.xpath("//input[@name='bkg_no']"));";
  JavascriptExecutor jse = (JavascriptExecutor)driver;
  jse.executeScript("arguments[0].value="+bkg+";", bkgNo);
  </code></pre>
  
  <p>3)</p>
  
  <pre><code>driver.findElement(By.name("bkg_no")).sendKeys("ABCDE9000333");
  </code></pre>
  
  <p>4)</p>
  
  <pre><code>JavascriptExecutor jse = (JavascriptExecutor)driver;    
  jse.executeScript("document.getElementByName('bkg_no').value='PKG900890300'");
  </code></pre>