[🐛 Bug]: FAILED tests/drivers/test_remote_webdriver.py::test_downloads - EOFError
What happened?
$ cd seleniumhq.github.io/examples/python/ $ pytest tests/drivers/test_remote_webdriver.py
The code should be updated to use file_names[0] instead of files[0] as files does not get returned in a consistent order which is why the sort is needed in the assert
assert sorted(files) == sorted(file_names)
downloadable_file = file_names[0]
[error.txt](https://github.com/SeleniumHQ/seleniumhq.github.io/files/14042672/error.txt)
What browsers and operating systems are you seeing the problem on?
Description: Ubuntu 20.04.6 LTS Python 3.8.10 selenium-server-4.16.1.jar
@rdinoff, thank you for creating this issue. We will troubleshoot it as soon as we can.
Info for maintainers
Triage this issue by using labels.
If information is missing, add a helpful comment and then I-issue-template label.
If the issue is a question, add the I-question label.
If the issue is valid but there is no time to troubleshoot it, consider adding the help wanted label.
After troubleshooting the issue, please add the R-awaiting answer label.
Thank you!
do you want to PR the fix?
do you want to PR the fix?
yes, I will make a PR
It seems the PR got merged into your fork.
This was already fixed.