Desired Capabilities
Bypass Unsafe Download Prompt in Chrome
Adding the Capability
Section titled “Adding the Capability”| Name | Data Type | Value |
|---|---|---|
| goog:chromeOptions | String | { “prefs” : { “safebrowsing.enabled” : “true” } } |
Just add the above Desired Capability in your Execution that contains the Test Step for clicking on the Download link. The browser warning will be silenced for the Test Session.