I encountered similar issue on my rails application on the last version of Chromedriver and Google Chrome(130.0...), you need to double-check download_path:
- in your options, you need to set path as string:
"download.default_directory": download_path.to_s
=> download_path is string and after you create your driver with your options, please check the result and output to see it got this path or not(rejected)
- After creating your driver, you need to set this directory again to be sure like this:
@driver.download_path = download_path
My problem was resolved after completing those two steps.