0.1.0 • Published 4 years ago
chrome-remote-debugger-client v0.1.0
Chrome Remote Debugger Client
The Chrome Remote Debugger client for Page.
Install
ESM and CJS need install:
yarn add chrome-remote-debugger-client- ESM:
import CRD from 'chrome-remote-debugger-client'- CJS
const CRD = require('chrome-remote-debugger-client')- 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 settingwsOrigin: Be registered server address, includehostandport. Generate by local host when no setting. Also, using a query paramwsOrigincover this setting. For example:http://10.253.32.115:9222/test/demo.html?wsOrigin=10.253.32.115:9222
0.1.0
4 years ago