Skip to content

Session.enableNetworkEmulation method

Session › enableNetworkEmulation

Unofficial

Emulates network with the given configuration for the session.

Signature:

enableNetworkEmulation(options: ElectronEnableNetworkEmulationOptions): void

Parameters:

Parameter Type Description
options ElectronEnableNetworkEmulationOptions The network emulation configuration.

Returns: void