mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user