mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
feat: Attribute network requests to frames (#1646)
This patch introduces `request.frame()` method that returns the frame that initiated request. Fixes #1579
This commit is contained in:
committed by
Andrey Lushnikov
parent
5843f6f775
commit
c29822d663
@@ -72,7 +72,7 @@ class Page extends EventEmitter {
|
||||
this._mouse = new Mouse(client, this._keyboard);
|
||||
this._touchscreen = new Touchscreen(client, this._keyboard);
|
||||
this._frameManager = new FrameManager(client, frameTree, this);
|
||||
this._networkManager = new NetworkManager(client);
|
||||
this._networkManager = new NetworkManager(client, this._frameManager);
|
||||
this._emulationManager = new EmulationManager(client);
|
||||
this._tracing = new Tracing(client);
|
||||
/** @type {!Map<string, Function>} */
|
||||
|
||||
Reference in New Issue
Block a user