Posted: 26 Apr 2019 14:12 EDT Last activity: 9 Jun 2019 11:05 EDT
Our automation fails with the following error relates to Content Security Policy directive. Anyone has any suggestion on how we should get around this? We are running with Chrome browser.
Please reach out to your web site administrator who already defined these CSP (Content-Security-Policy) directives and try to identify/create a whitelist of sources of trusted script content that's allowed, so the browser can also render resources from those trusted sources as per your project requirements. This way your site-administrator may consider relaxing the policy to allow unsafe-eval or pre-compiling your templates into render functions, as a note; script-src is a directive that controls a set of script-related privileges for a specific site/page, for more info you may refer to Chrome developer forum: https://developer.chrome.com/extensions/contentSecurityPolicy