Download a file from a URL and rename it. The default download location is: "./downloaded_files/".
(self, file_url, new_file_name)
| 1785 | ) |
| 1786 | |
| 1787 | def save_file_as(self, file_url, new_file_name): |
| 1788 | """Download a file from a URL and rename it. |
| 1789 | The default download location is: "./downloaded_files/".""" |
| 1790 | self.loop.run_until_complete( |
| 1791 | self.page.download_file(file_url, new_file_name) |
| 1792 | ) |
| 1793 | |
| 1794 | def assert_downloaded_file(self, file, timeout=None): |
| 1795 | """Asserts that the file exists in SeleniumBase's [Downloads Folder]. |
nothing calls this directly
no test coverage detected