File finding issue using new webdriver

79 views
Skip to first unread message

Afees Sadeek

unread,
Aug 23, 2024, 2:33:31 AM8/23/24
to ChromeDriver Users
Hey peeps,

Anyone having issues with finding downloaded files after the new release?
chromeOptions.addArguments("--headless=new");
chromeOptions.addArguments("--headless");

tried both these. Still not able to find the files.
Any idea?

Thanks in advance,
Afees

Afees Sadeek

unread,
Aug 26, 2024, 8:30:40 AM8/26/24
to ChromeDriver Users
File itself is actually not getting downloaded.
Any idea why this is happening?

Herick Mota

unread,
Sep 9, 2024, 3:59:46 AM9/9/24
to ChromeDriver Users
I am having the same issue, but sometimes the download is done correctly, so my scenarios are flaky.
I've also tried using the following prefs:

prefs = {
"plugins.always_open_pdf_externally": True,
"download.default_directory": DOWNLOAD_PATH,
"profile.default_content_settings.popups": 0,
"download.prompt_for_download": False,
"directory_upgrade": False,
"download.extensions_to_open": "application/xml",
"safebrowsing.enabled": True,
}
chrome_options.add_experimental_option("prefs", prefs)

Does anyone have a solution yet? 
Reply all
Reply to author
Forward
0 new messages