Need to Defined Download Directory for Selenium-Wire Driver #2437
Replies: 1 comment 2 replies
-
Duplicate of #1557 (comment) SeleniumBase creates the There are lots of built-in test methods that are specially made for that folder, such as: self.get_downloads_folder()
self.get_browser_downloads_folder()
self.get_path_of_downloaded_file(file)
self.is_downloaded_file_present(file)
self.delete_downloaded_file_if_present(file)
# Duplicates: self.delete_downloaded_file(file)
self.assert_downloaded_file(file)
self.get_downloaded_files(regex=None, browser=False)
self.get_data_from_downloaded_file(file, timeout=None, browser=False)
self.assert_data_in_downloaded_file(data, file, timeout=None, browser=False) If you need files in a different folder, use Python There's also a Line 673 in 570910c (A copy of those downloads will go into a folder in the |
Beta Was this translation helpful? Give feedback.
-
Hello,
I am using the wire=True option for the raw driver on lambda.
The lambda is preventing download required by sw. Is there a way similar to seleniumwire_options that I can change this to the tmp directory?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions