我陷入了一个问题,我在nightwatch.json文件中将Firefox设置为默认浏览器,但由于某种原因,我一直遇到以下错误:
Error while running .navigateTo() protocol action: The SSL certificate running on this host cannot be validated. If you wish to force accepting insecure SSL certificates, set acceptInsecureCerts=true in the desiredCapabilities options
正如错误中所建议的那样,我在nightwatch.json中使用了'acceptInsecureCerts=true
'下的desiredCapabilities
选项作为firefox,但仍然无法正常工作。有什么建议吗?有解决方法吗?