From c2cf5ff30b2ccaa60b97e66c76fdcebb3ed95ee5 Mon Sep 17 00:00:00 2001 From: Gopikrishnan Prakasam Date: Tue, 30 Apr 2024 14:48:37 +0530 Subject: [PATCH] Update throttlenetwork.md updated networkProfile parameters to reflect the correct values. They were missing Throughput --- .../k6-experimental/browser/page/throttlenetwork.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/throttlenetwork.md b/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/throttlenetwork.md index e3b1889ba7..8f49716140 100644 --- a/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/throttlenetwork.md +++ b/docs/sources/v0.50.x/javascript-api/k6-experimental/browser/page/throttlenetwork.md @@ -11,8 +11,8 @@ Throttles the network in Chrome/Chromium to slow it down by the specified fields | ----------------------- | -------------- | ------- | -------------------------------------------------------------------------------------- | | networkProfile | NetworkProfile | `null` | This is a mandatory parameter. | | networkProfile.latency | number | `0` | Minimum latency from request sent to response headers received (ms). | -| networkProfile.download | number | `-1` | Maximal aggregated download throughput (bytes/sec). `-1` disables download throttling. | -| networkProfile.upload | number | `-1` | Maximal aggregated upload throughput (bytes/sec). `-1` disables upload throttling. | +| networkProfile.downloadThroughput | number | `-1` | Maximal aggregated download throughput (bytes/sec). `-1` disables download throttling. | +| networkProfile.uploadThroughput | number | `-1` | Maximal aggregated upload throughput (bytes/sec). `-1` disables upload throttling. | To work with the most commonly tested network profiles, import `networkProfiles` from the browser module. There are three profiles available: