Solution for Chrome's "Insecure download" warning #193
Closed
hanamichi77777
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
We would like to share a solution reported by a SeleniumVBA user regarding the "Insecure download blocked" issue.
In some cases, Chrome determines that certain URLs—like internal dev environments or corporate intranets—are not "Secure Connections." Since these security warnings can stall your automation scripts, you need to tell Chrome to trust these origins beforehand.
You can bypass this by adding the following argument:
caps.AddArguments "--unsafely-treat-insecure-origin-as-secure=" & targetUrlPlease note: This setting bypasses standard security protocols. Only use it for trusted internal systems or specific sites where you are certain of the safety.
Beta Was this translation helpful? Give feedback.
All reactions