Getting Error for running ZAP Playwright test

97 views
Skip to first unread message

Yogesh B

unread,
Apr 17, 2024, 10:34:44 AM4/17/24
to ZAP User Group
Hello Team,
While I am running my ZAP configure test in Playwright , but it is throwing Not Secure Cerrtificate error on browser, but the same test if i run without ZAP configure then its working fine. 
Can you please help to resolve this issue? 

If i run test on edge browser then it is not throwing Not Secure error but test case is not able to identify elements.

Regards,
Yogesh B

Simon Bennetts

unread,
Apr 22, 2024, 7:32:42 AM4/22/24
to ZAP User Group
Hi Yogesh,

ZAP uses its own root CA certificate in order to intercept HTTPS.
If you launch browsers from ZAP then they are configured to ignore any certificate errors.
If you are using something that does validate the cert then you will need to import the ZAP cert as a trusted CA one.

Cheers,

Simon
Reply all
Reply to author
Forward
0 new messages