My current project involves automating a secure URL using Selenium, WebdriverIO, and JavaScript. However, the page keeps redirecting to a "Your connection is not secure" message. I have attempted to address this issue by setting various preferences in the firefoxProfile, such as 'security.insecure_field_warning.contextual.enabled': false, but it has not resolved the problem.
Here is the configuration of my firefoxProfile:
firefoxProfile: {
'media.navigator.permission.disabled': true,
'media.peerconnection.video.h264_enabled': true,
'media.navigator.streams.fake': true,
'dom.webnotifications.enabled': false,
'media.getusermedia.screensharing.enabled': true,
setAcceptUntrustedCertificates: true,
setAssumeUntrustedCertificateIssuer: true,
'security.insecure_field_warning.contextual.enabled': false
},
Information about Selenium and Firefox versions being used:
- "selenium-standalone": "~5.8.0"
- Firefox version : 60.0 (64-bit)