Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow uploading folders #1789

Open
Obitotski opened this issue Feb 8, 2024 · 1 comment
Open

Allow uploading folders #1789

Obitotski opened this issue Feb 8, 2024 · 1 comment

Comments

@Obitotski
Copy link

Obitotski commented Feb 8, 2024

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 SeleniumHQ/selenium#12311, the way to change this behavior is to request changes to WebDriver W3C Specification. Could you please consider such changes?

@whimboo
Copy link
Contributor

whimboo commented Feb 8, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants