Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

433
Views
How to get csp violation from console error in puppeteer?

I am trying to collect all console errors in the browser using Puppeteer with nodeJS, I couldn't find any event for content-security-policy violation error in puppeteer documents.

There are events in puppeteer for error, pageerror, requestfailed, These events don't get triggered for content-security-policy violation error. Is there any event for getting content-security-polic violations?

Something like this,

page.on('csperror(dummy-text)', csperror=> {
       console.log('pageerror occurred: ', csperror);
     })
over 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!