File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -3099,12 +3099,8 @@ def get_downloads_folder(self):
3099
3099
any clicks that download files will also use this folder
3100
3100
rather than using the browser's default "downloads/" path. """
3101
3101
self .__check_scope ()
3102
- if self .is_chromium () and self .guest_mode and not self .headless :
3103
- # Guest Mode (non-headless) can force the default downloads path
3104
- return os .path .join (os .path .expanduser ('~' ), 'downloads' )
3105
- else :
3106
- from seleniumbase .core import download_helper
3107
- return download_helper .get_downloads_folder ()
3102
+ from seleniumbase .core import download_helper
3103
+ return download_helper .get_downloads_folder ()
3108
3104
3109
3105
def get_browser_downloads_folder (self ):
3110
3106
""" Returns the path that is used when a click initiates a download.
You can’t perform that action at this time.
0 commit comments