Is it possible to .click() “Proceed anyway” using javascript when The site’s security certificate is not trusted! page comes up? I’m trying to automate some tests that work in both our production environment as well as the dev/qa environment. The problem I’m running into is in the dev environment, the certificate is for the wrong subdomain.
I’ve read that I could import the certificates but I’m looking for something that can either be written into the test or written as a Chrome Extension. That way it would be limited to only the few subdomains that we trust but nothing outside. I’m leaning towards an extension since manifest.json makes it so easy to restrict the domains you allow.
I need a suggestion on how to call a click on what I’m assuming is a button element containing the text Proceed anyway.
This is not possible. The whole point is that the browser wants the user’s decision on whether to trust the page