5.5.2 • Published 3 years ago

pptr-web v5.5.2

Weekly downloads
8
License
MIT
Repository
github
Last release
3 years ago

pptr-web

puppeteer for web browsers.

pptr-web's versions are correspond to the versions of puppeteer-core, so choose the right version for your target browser(chrome/chromium).

Install && Usage

npm install pptr-web

import puppeteer from 'pptr-web';

const browser = await puppeteer.connect({
  browserURL: 'http://localhost:9222',
});

or download https://cdn.jsdelivr.net/npm/pptr-web@5.5.0/dist/module/pptr.js

then use as a module:

import puppeteer from './pptr.js';

const browser = await puppeteer.connect({
  browserURL: 'http://localhost:9222',
});

or in html page with a script tag

<script src="https://cdn.jsdelivr.net/npm/pptr-web@5.5.0/dist/browser/pptr.js"></script>

<script>
  const browser = await puppeteer.connect({
    browserURL: 'http://localhost:9222',
  });
</script>
5.5.2

3 years ago

5.5.1

3 years ago

5.5.0

3 years ago