chrome-remote-debugger-client
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

Chrome Remote Debugger Client

The Chrome Remote Debugger client for Page.

Install

ESM and CJS need install:

    yarn add chrome-remote-debugger-client
  1. ESM:
    import CRD from 'chrome-remote-debugger-client'
  1. CJS
    const CRD = require('chrome-remote-debugger-client')
  1. UMD
    <script type="text/javascript" src="crd.umd.min.js"></script>

Usage

Creating a class instance and init:

    new CRD([options]).init()

SDK Options

  • pid: Page unique identification, generate autoing when no setting

  • wsOrigin: Be registered server address, include host and port. Generate by local host when no setting. Also, using a query param wsOrigin cover this setting. For example: http://10.253.32.115:9222/test/demo.html?wsOrigin=10.253.32.115:9222

Readme

Keywords

none

Package Sidebar

Install

npm i chrome-remote-debugger-client

Weekly Downloads

1

Version

0.1.0

License

MIT

Unpacked Size

401 kB

Total Files

13

Last publish

Collaborators

  • mnichangxin