You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CSP bypassing happens at the moment of CSP initialization rather than evaluation. Usually, this means that page.setBypassCSP should be called before navigating to the domain.
Problem
Content-Security-Policy is beginning to grow in popularity, and CSS/Script injections will increasingly be blocked.
This applies to:
frame-src
: report viewing inside frames in CI/CD like Jenkins (Jenkins "HTML report" page is blank garris/BackstopJS#1171)style-src
: injecting styles and inline styles in HTML Reportscript-src
: injecting scripts and inline scripts in HTML ReportSolution
Puppeteer
Important
CSP bypassing happens at the moment of CSP initialization rather than evaluation. Usually, this means that page.setBypassCSP should be called before navigating to the domain.
Playwright
The text was updated successfully, but these errors were encountered: