How to Handle SSL Certificate in karateUI driver?

℡╲_俬逩灬. 提交于 2020-08-20 05:13:26

问题


When I open my resource, I am faced with notification "Your connection is not private". Is there a way to disable the verification of the server certificate in the browser or specify the desired trusted certificate through configuring the karate driver? Please, provide the solution for configuration the driver for overcome this notification.


回答1:


This is helpful feedback. Can you see if adding this command-line flag helps: --ignore-certificate-errors.

Refer addOptions in the documentation: https://github.com/intuit/karate/tree/develop/karate-core#configure-driver

Else it would be great if you provide a way to replicate and submit an issue: https://github.com/intuit/karate/wiki/How-to-Submit-an-Issue

This will also work for other chrome options such as --disable-notifications.

Please also see these threads:

a) https://github.com/intuit/karate/issues/1134#issuecomment-638990087 b) https://github.com/intuit/karate/issues/1228



来源:https://stackoverflow.com/questions/59406708/how-to-handle-ssl-certificate-in-karateui-driver

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!