import PuppeteerRequestCapturer from 'node-warc/lib/requestCapturers/puppeteer.js'
PuppeteerRequestCapturer
Puppeteer Request Capturer
Constructor Summary
Public Constructor | ||
public |
constructor(page: Page, requestEvent: string) |
Member Summary
Private Members | ||
private |
To Capture Requests Or Not To Capture Requests |
|
private |
|
|
private |
A list of requests made |
Method Summary
Public Methods | ||
public |
Get An Iterator Over The Requests Captured |
|
public |
Attach (start listening for request events) the request capturerer to the page object |
|
public |
clear() Remove All Requests |
|
public |
Detach (stop listening for request events) the request capturerer from the page object |
|
public |
|
|
public |
|
|
public |
|
|
public |
Sets an internal flag to begin capturing network requests. |
|
public |
Sets an internal flag to stop the capturing network requests |
Public Constructors
Private Members
Public Methods
public attach(page: Page, requestEvent: string) source
Attach (start listening for request events) the request capturerer to the page object
public detach(page: Page, requestEvent: string) source
Detach (stop listening for request events) the request capturerer from the page object
public startCapturing() source
Sets an internal flag to begin capturing network requests. Clears Any Previously Captured Request Information