fix_download_path.diff

Pavel Rosick√Ĺ, 2021-04-03 18:00

Download (886 Bytes)

View differences:

test/application_system_test_case.rb
38 38
                  'goog:chromeOptions' => {
39 39
                    'args' => GOOGLE_CHROME_OPTS_ARGS,
40 40
                    'prefs' => {
41
                      'download.default_directory' => DOWNLOADS_PATH,
41
                      'download.default_directory' => DOWNLOADS_PATH.gsub(File::SEPARATOR, File::ALT_SEPARATOR || File::SEPARATOR),
42 42
                      'download.prompt_for_download' => false,
43 43
                      'plugins.plugins_disabled' => ["Chrome PDF Viewer"]
44 44
                    }