Skip to content

Commit 1ee68a7

Browse files
committed
exposew ws for backwards compat
1 parent aa1de13 commit 1ee68a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/chrome.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ class Chrome extends EventEmitter {
216216
if (this.secure) {
217217
this.webSocketUrl = this.webSocketUrl.replace(/^ws:/i, 'wss:');
218218
}
219-
const ws = new WebSocket(this.webSocketUrl, [], {
219+
const ws = this._ws = new WebSocket(this.webSocketUrl, [], {
220220
followRedirects: true,
221221
...this.connectOptions,
222222
});

0 commit comments

Comments
 (0)