Insecure download blocked with TestCafe

68 Views Asked by At

I am trying to download an excel file with TestCafe. I am getting a popup with Insecure download blocked and the file is not getting downloaded. I am able to download files multiple times manually, but only with TestCafe automation facing the issue.

enter image description here

I have tried the below things so far.

  • Setting Insecure Content Permission for Google Chrome.
  • Tried running the test with flags --allow-running-insecure-content --disable-web-security --unsafely-treat-insecure-origin-as-secure=* --disable-features=InsecureDownloadWarnings

versions:

  • Google chrome: 122.0.6261.128 (Official Build) (arm64)

  • TestCafe:3.3.0

0

There are 0 best solutions below