diff --git a/utils/browser/README.md b/utils/browser/README.md index 842ec6de0803f..1fb0d7787cfe8 100644 --- a/utils/browser/README.md +++ b/utils/browser/README.md @@ -24,3 +24,13 @@ another browser instance through its WS Endpoint: See our [puppeteer-web tests](https://github.com/GoogleChrome/puppeteer/blob/master/utils/browser/test.js) for details. +### Running inside Chrome Extension + +You might want to enable `unsafe-eval` inside the extension by adding the following +to your `manifest.json` file: + +``` +"content_security_policy": "script-src 'self' 'unsafe-eval'; object-src 'self'" +``` + +Please see discussion in https://github.com/GoogleChrome/puppeteer/issues/3455.