From 6723254266966de761b860a8e4149440600e2b48 Mon Sep 17 00:00:00 2001 From: Andrey Lushnikov Date: Wed, 8 Apr 2020 15:39:26 -0700 Subject: [PATCH] docs: remove stale file (#1719) We don't support web bundling at the moment. --- docs/development/web.md | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100644 docs/development/web.md diff --git a/docs/development/web.md b/docs/development/web.md deleted file mode 100644 index 6802fd2b4a..0000000000 --- a/docs/development/web.md +++ /dev/null @@ -1,31 +0,0 @@ -# Bundling for Web - -Playwright contains a version bundled for web browsers under `playwright/web.js`, which -installs playwright under `window.playwrightweb`. -You can use it in the web page to drive another browser instance. - -API consists of a single `connect` function, similar to [browserType.connect(options)](api.md#browsertypeconnectoptions). - -```html - - -``` - -See our [playwright-web tests](https://github.com/Microsoft/playwright/blob/master/test/web.spec.js) for example. - -### 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.