Skip to content

Commit

Permalink
docs(puppeteer-web): a note about running inside extension (#3477)
Browse files Browse the repository at this point in the history
Fixes #3455
  • Loading branch information
aslushnikov committed Nov 1, 2018
1 parent 8e93eab commit 4110087
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions utils/browser/README.md
Expand Up @@ -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.

0 comments on commit 4110087

Please sign in to comment.