chromes
v0.0.3
Published
A simple and typesafe chrome automation library 🌹
Downloads
4
Readme
Chromes
A simple and typesafe chrome automation library 🌹
Ships with TypeScript definitions ❤️
This is just a convinience wrapper around puppeteer
to standardize common patterns used for testing.
Install
npm install puppeteer @types/puppeteer chromes -D
Usage
import * as chs from 'chromes';
chs.launch().then(async ({browser, page}) => {
// Use puppeteer's browser / page objects.
});
Puppeter Docs
- https://github.com/GoogleChrome/puppeteer/blob/master/docs/api.md