/// <summary> /// Emulates network with the given configuration for the session. /// </summary> /// <param name="options"></param> public void EnableNetworkEmulation(EnableNetworkEmulationOptions options) { BridgeConnector.Socket.Emit("webContents-session-enableNetworkEmulation", Id, JObject.FromObject(options, _jsonSerializer)); }
/// <summary> /// Emulates network with the given configuration for the session. /// </summary> /// <param name="options"></param> public void EnableNetworkEmulation(EnableNetworkEmulationOptions options) { BridgeConnector.Emit("webContents-session-enableNetworkEmulation", Id, options); }