presidium 3.4.0 → 3.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/GoogleChromeDevTools.js +1 -2
- package/package.json +1 -1
package/GoogleChromeDevTools.js
CHANGED
|
@@ -1173,7 +1173,7 @@ class GoogleChromeDevTools extends EventEmitter {
|
|
|
1173
1173
|
})
|
|
1174
1174
|
await this.googleChromeForTesting.init()
|
|
1175
1175
|
|
|
1176
|
-
console.log('
|
|
1176
|
+
console.log('Initializing websocket with devtoolsUrl:', this.googleChromeForTesting.devtoolsUrl)
|
|
1177
1177
|
this.websocket = new WebSocket(this.googleChromeForTesting.devtoolsUrl, {
|
|
1178
1178
|
offerPerMessageDeflate: false,
|
|
1179
1179
|
})
|
|
@@ -1188,7 +1188,6 @@ class GoogleChromeDevTools extends EventEmitter {
|
|
|
1188
1188
|
this.websocket.on('message', message => {
|
|
1189
1189
|
const data = JSON.parse(message.toString('utf8'))
|
|
1190
1190
|
if (data.method) {
|
|
1191
|
-
console.log('Event:', data.method, JSON.stringify(data.params))
|
|
1192
1191
|
this.emit(data.method, data.params)
|
|
1193
1192
|
}
|
|
1194
1193
|
})
|