Cannot SendKeys on input control

Confirmed Issue #8515651 • Assigned to Clay M.

Details

Author
Truong P.
Created
Aug 17, 2016
Privacy
This issue is public.
Found in
  • Microsoft Edge
Found in build #
10
Reports
Reported by 2 people

Sign in to watch or report this issue.

Steps to reproduce

I cannot sendkeys (using WebDriver API) on input control as following
input-color.
input-date.
input-datetime-local.
input-month.
input-range.
input-time.
input-week.

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Ibrahim O.”

      Changed Title from “Cannot SendKeys on input control” to “Cannot SendKeys on input control”

    • Thank you for your feedback. We will look into this issue. In the meantime as a temporary workaround, you to use JavaScriptExecutor to set the input value :

      JavascriptExecutor js = (JavascriptExecutor) driver;                     
      js.executeScript("document.getElementById(‘input’).setAttribute('value’, ‘2020-10-10’)");

      or use sendKeys() for input type range etc.

      driver.findElement(By.id(“input”)).sendKeys(Keys.ARROW_RIGHT); 

      Thanks again for your assistance in the investigation.

      All the best,
      The MS Edge Team

    • Microsoft Edge Team

      Changed Assigned To to “Mara P.”

      Changed Assigned To from “Mara P.” to “Clay M.”

      Changed Status to “Confirmed”

      Changed Title from “Cannot SendKeys on input control” to “Cannot SendKeys on input control”

    You need to sign in to your Microsoft account to add a comment.

    Sign in