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

@@ -22,7 +22,7 @@ const closeAsync = helper.promisify(fs.close);
class Tracing {
/**
* @param {!Puppeteer.Session} client
* @param {!Puppeteer.CDPSession} client
*/
constructor(client) {
this._client = client;