webdriver icon indicating copy to clipboard operation
webdriver copied to clipboard

Allow uploading folders

Open Obitotski opened this issue 1 year ago • 1 comments

Local automation run with Selenium can upload the directory using sendKeys, but via RemoteWebDriver it's not allowed, because LocalFileDetector doesn't allow the folder to be uploaded.

As an example, locally you can drag and drop (upload) a folder to storage (like Google Drive) and it will create such a folder with related content, but in remote it`s not possible, because folders are not allowed for uploading with LocalFileDetector

According to the issue https://github.com/SeleniumHQ/selenium/issues/12311, the way to change this behavior is to request changes to WebDriver W3C Specification. Could you please consider such changes?

Obitotski avatar Feb 08 '24 11:02 Obitotski

See also issue #1742. Chrome is behaving incorrectly at the moment and allows uploading of a folder with Element Send Keys. It needs to be discussed if that is really wanted.

whimboo avatar Feb 08 '24 12:02 whimboo