feat: expose raw devtools protocol connection (#1770)

feat: expose raw devtools protocol connection

This patch introduces `target.createCDPSession` method that
allows directly communicating with the target over the
Chrome DevTools Protocol.

Fixes #31.
This commit is contained in:
Andrey Lushnikov
2018-01-10 19:33:22 -08:00
committed by GitHub
parent ec8e40f1cb
commit 5368051610
17 changed files with 162 additions and 51 deletions

View File

@@ -18,7 +18,7 @@ const {helper} = require('./helper');
class Dialog {
/**
* @param {!Puppeteer.Session} client
* @param {!Puppeteer.CDPSession} client
* @param {string} type
* @param {string} message
* @param {(string|undefined)} defaultValue