Typescript 量角器-如何处理SSL证书提示
我们的应用程序使用SSL证书,我们不能绕过chrom的提示来选择证书。我们很乐意只选择证书——通常是一个证书。我们已经尝试过以下方法:Typescript 量角器-如何处理SSL证书提示,typescript,selenium,automation,protractor,Typescript,Selenium,Automation,Protractor,我们的应用程序使用SSL证书,我们不能绕过chrom的提示来选择证书。我们很乐意只选择证书——通常是一个证书。我们已经尝试过以下方法: capabilities: { browserName: 'chrome', chromeOptions: { args: ['--disable-remote-fonts', '--start-maximized', '--ignore-certificate-errors'] }, trustAllSSLCerti
capabilities: {
browserName: 'chrome',
chromeOptions: {
args: ['--disable-remote-fonts', '--start-maximized', '--ignore-certificate-errors']
},
trustAllSSLCertificates: true,
acceptInsecureCerts: true,
ACCEPT_SSL_CERTS: true,
}
不工作,浏览器打开并挂起证书选择屏幕,尽管只有一个证书可供选择。无法相信,对于量角器来说,没有解决此问题的方法:/Any ideas?可能会错过参数,或者只是没有为chrome选项使用正确的键 尝试:
trustAllSSLCertificates: true,
acceptInsecureCerts: true,
ACCEPT_SSL_CERTS: true,
'goog:chromeOptions': {
args: {
'--disable-infobars',
'--disable-extensions',
'--disable-web-security'
}
}