-
Notifications
You must be signed in to change notification settings - Fork 9k
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
2.1.1 broke uploadFile #5527
Comments
It seems to be broken since 2.1.0 |
Also, enforcing a "change" event can resolve files input not updated in 2.1.1 but mimeType isn't ok |
I haven't checked 2.1.0, but I've seen other people talked about 2.1.0 broke uploadFile. So it's probably broken in 2.1.0 and haven't been fixed in 2.1.1. |
I downgraded to 2.0.0 but that does not solve the problem - filetype detection doesn't work there.
If Puppeteer team finally gets this to be fixed, I hope they also get the file type detection back. |
This should be fixed as of 532ae57 as we changed the underlying implementation to use |
Steps to reproduce
Tell us about your environment:
What steps will reproduce the problem?
Run the following line in either headless or headful mode:
inputUploadHandle.uploadFile(filepath);
What is the expected result?
In version 2.0.0, when uploadFile is executed, the file will be selected. You can see this if you are using headful mode.
What happens instead?
However, in version 2.1.1, uploadFile results in nothing.
The text was updated successfully, but these errors were encountered: