79141268

Date: 2024-10-30 13:22:09
Score: 0.5
Natty:
Report link

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:

  1. 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)
  2. 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.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Alireza mohagheghi