79079511

Date: 2024-10-11 19:33:17
Score: 1
Natty:
Report link

Looks like downloads don't work in headless mode unless you set a download path via Chrome experimental options before initializing the driver: See implementation here


That being said, I would personally try to do this using http requests. Then you don't have to worry about the headaches of web automation (page flakiness, Selenium instability, the time to download the driver each time, etc)

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: ryyyn