w3c / w3c/webdriver

Clarify correct behavior for uploading a folder via "Element Send Keys"

Open
#1,742 12 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Element Send Keys needs-discussion
Dominant language
HTML
Stars
718
Forks
228
PR merge metrics
No merged PRs in 30d

Description

Quite some time ago we get a report for geckodriver that uploading a folder doesn't work. Hereby the relevant code didn't specify a list of files as required by the WebDriver specification for Element Send Keys, but just the folder name.

As also mentioned chromedriver supports that method and as such adds extra behavior on top of the WebDriver specification which other drivers like at least geckodriver doesn't do.

For a consistent behavior across browsers we should most likely support a unique behavior.

CC @sadym-chromium, @foolip, @gsnedders, @jgraham

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Read the WebDriver specification's Element Send Keys section and compare its required file-list behavior with the geckodriver report in issue 1788 and chromedriver's behavior. Done means the specification clearly defines one consistent behavior for uploading a folder via Element Send Keys.

Written by the indexing model from the issue text.

Assessment

Domain
api, documentation
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.