File Upload Issue with Microsoft WebDriver with Browser Version - 44.18362.1.0

Issue #23483333 • Assigned to edgedevtoolstri

Details

Author
Shubham S.
Created
Sep 17, 2019
Privacy
This issue is public.
Found in
  • Microsoft Edge
Standard affected
WebDriver

Reports
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

While running Microsoft WebDriver in W3C spec compliant mode send keys (POST /session/:sessionId/element/:elementId/value) works fine on text input elements with payload like { "text": "Hello", "value": [“H","e","l","l","o”], "id": “RANDOM_ELEMENT_ID” } but when same command is issued to file input element it fails because it expects the “value” key to be a string rather than an array of strings.

If we either remove value key from payload or convert its value to a valid path string then it works. However if WebDriver is running in W3C spec compliant mode then it should not check the value field since it is replaced by text field.

JSONWire Protocol - https://github.com/SeleniumHQ/selenium/wiki/JsonWireProtocol#post-sessionsessionidelementidvalue
W3C Protocol - https://github.com/jlipps/simple-wd-spec#element-send-keys

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Zachariah L.”

      Changed Assigned To to “edgedevtoolstri”

    • is there any update for fixing this issue?

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

    Sign in