beppe

tiny alternative to puppeteer


Keywords
chrome, devtools, protocol, cdp, puppeteer, automation, browser, lightweight, tiny, small, phantomjs
License
MIT
Install
npm install beppe@0.1.0

Documentation

Beppe Logo
Beppe

tiny alternative to puppeteer

Installation

npm i beppe

Usage

import Beppe from 'beppe';

main();

async function main() {
  const beppe = await new Beppe('https://example.com').connect();
  await beppe.execFunc(() => alert('Hello World!'));
  await beppe.goto('https://google.com/');
  const location = await beppe.eval('window.location.href');
  console.log(location); // https://google.com/
}