From 06273ef95537d1511d0edfba28e6875e3879bb87 Mon Sep 17 00:00:00 2001 From: Andrew Healey Date: Thu, 30 Apr 2020 01:21:07 -0400 Subject: [PATCH] docs(api.md): Fix wording of javaScriptEnabled description (#2050) --- docs/api.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/api.md b/docs/api.md index 5d46dfd7b5..4894bfabc3 100644 --- a/docs/api.md +++ b/docs/api.md @@ -203,7 +203,7 @@ Indicates that the browser is connected. - `deviceScaleFactor` <[number]> Specify device scale factor (can be thought of as dpr). Defaults to `1`. - `isMobile` <[boolean]> Whether the `meta viewport` tag is taken into account and touch events are enabled. Defaults to `false`. Not supported in Firefox. - `hasTouch` <[boolean]> Specifies if viewport supports touch events. Defaults to false. - - `javaScriptEnabled` <[boolean]> Whether or not to enable or disable JavaScript in the context. Defaults to true. + - `javaScriptEnabled` <[boolean]> Whether or not to enable JavaScript in the context. Defaults to true. - `timezoneId` <[string]> Changes the timezone of the context. See [ICU’s `metaZones.txt`](https://cs.chromium.org/chromium/src/third_party/icu/source/data/misc/metaZones.txt?rcl=faee8bc70570192d82d2978a71e2a615788597d1) for a list of supported timezone IDs. - `geolocation` <[Object]> - `latitude` <[number]> Latitude between -90 and 90. @@ -245,7 +245,7 @@ Creates a new browser context. It won't share cookies/cache with other browser c - `deviceScaleFactor` <[number]> Specify device scale factor (can be thought of as dpr). Defaults to `1`. - `isMobile` <[boolean]> Whether the `meta viewport` tag is taken into account and touch events are enabled. Defaults to `false`. Not supported in Firefox. - `hasTouch` <[boolean]> Specifies if viewport supports touch events. Defaults to false. - - `javaScriptEnabled` <[boolean]> Whether or not to enable or disable JavaScript in the context. Defaults to `true`. + - `javaScriptEnabled` <[boolean]> Whether or not to enable JavaScript in the context. Defaults to `true`. - `timezoneId` <[string]> Changes the timezone of the context. See [ICU’s `metaZones.txt`](https://cs.chromium.org/chromium/src/third_party/icu/source/data/misc/metaZones.txt?rcl=faee8bc70570192d82d2978a71e2a615788597d1) for a list of supported timezone IDs. - `geolocation` <[Object]> - `latitude` <[number]> Latitude between -90 and 90.