Returns the path of the SeleniumBase "downloaded_files/" folder. Calling self.download_file(file_url) will put that file in here. With the exception of Safari, IE, and Chromium Guest Mode, any clicks that download files will also use this folder rather than us
(self)
| 8173 | f.write(base64.b64decode(pdf_base64)) |
| 8174 | |
| 8175 | def get_downloads_folder(self): |
| 8176 | """Returns the path of the SeleniumBase "downloaded_files/" folder. |
| 8177 | Calling self.download_file(file_url) will put that file in here. |
| 8178 | With the exception of Safari, IE, and Chromium Guest Mode, |
| 8179 | any clicks that download files will also use this folder |
| 8180 | rather than using the browser's default "downloads/" path.""" |
| 8181 | self.__check_scope() |
| 8182 | return download_helper.get_downloads_folder() |
| 8183 | |
| 8184 | def get_browser_downloads_folder(self): |
| 8185 | """Returns the path that is used when a click initiates a download. |
no test coverage detected