[py] fix return type and docstring of get_downloadable_files#15292
[py] fix return type and docstring of get_downloadable_files#15292VietND96 merged 4 commits intoSeleniumHQ:trunkfrom
Conversation
This reverts commit f17dd08dd32998a310510f0abc44e5b484202a4d.
This reverts commit cc16e3f. oops
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
||||||||||||
|
This update also helps the implementation align with behavior in Java binding #15293. |
User description
Thanks for contributing to Selenium!
A PR well described will help maintainers to quickly review and merge it
Before submitting your PR, please check our contributing guidelines.
Avoid large PRs, help reviewers by making them as simple and short as possible.
Fixes doc and code comment for
get_downloadable_filesas per #15288 in Python bindingMotivation and Context
Types of changes
Checklist
PR Type
Bug fix, Documentation, Tests
Description
Fixed the return type of
get_downloadable_filestolist.Updated the docstring of
get_downloadable_filesto reflect the correct return type.Added a test assertion to verify the return type of
get_downloadable_files.Changes walkthrough 📝
webdriver.py
Update `get_downloadable_files` return type and docstringpy/selenium/webdriver/remote/webdriver.py
get_downloadable_filesfromdicttolist.names.
remote_downloads_tests.py
Add test for `get_downloadable_files` return typepy/test/selenium/webdriver/remote/remote_downloads_tests.py
get_downloadable_filesreturns alist.