Snyk Community

loading...

Discussion on: Hey everybody, has anybody come across a way to test if CSP or mixed content is blocking content from loading in the browser?

Collapse
ramirezj profile image
Collapse
jakobthedev profile image
JakobTheDev Author

Thanks, that looks useful! But not quite what I'm after in this case. Part of our manual testing is to open devtools and make sure there are no errors where legitimate content is being blocked due to CSP or mixed-content. It would be handy to automate that as a post-deploy check.

Collapse
ramirezj profile image
James Ramirez

Ah, not come across anything but interested if you find something

Thread Thread
jakobthedev profile image
JakobTheDev Author

It should be pretty straightforward to spin up a headless browser then report on any console errors. I'll keep looking and will post back here if I find anything