Home Reference Source
import RemoteChromeRequestCapturer from 'node-warc/lib/requestCapturers/remoteChrome.js'
public class | source

RemoteChromeRequestCapturer

Extends:

RequestHandler → RemoteChromeRequestCapturer

The remote chrome request chapturer to use along side RemoteChromeWARCGenerator The only setup required is to pass the chrome-remote-interface Network object Controlled via startCapturing and stopCapturing

See:

Constructor Summary

Public Constructor
public

constructor(network: Object)

Method Summary

Public Methods
public

attach(network: Object)

public

detach(cdpClient: Object)

Public Constructors

public constructor(network: Object) source

Params:

NameTypeAttributeDescription
network Object
  • optional
  • nullable: true

The chrome-remote-interface Network object

Public Methods

public attach(network: Object) source

Params:

NameTypeAttributeDescription
network Object

The chrome-remote-interface Network object to be attached to

public detach(cdpClient: Object) source

Params:

NameTypeAttributeDescription
cdpClient Object

The chrome-remote-interface client object to detach from