@line/headless-inspector-cdp
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

headless-inspector-cdp

import HeadlessInspectorCdp from '@line/headless-inspector-cdp';

const inspector = new HeadlessInspectorCdp();
inspector.on('Runtime.consoleAPICalled', (params) => {
  // params.args: ["hoge"]
  // params.type: "log"
});
inspector.enable();

console.log('hoge');

Readme

Keywords

none

Package Sidebar

Install

npm i @line/headless-inspector-cdp

Weekly Downloads

4,444

Version

1.0.2

License

Apache-2.0

Unpacked Size

36.8 kB

Total Files

44

Last publish

Collaborators

  • kazuma0129
  • lycorp-liff-team
  • odanado
  • lycorpall