From 3a33b60af7f3096c4ab36296b901b3838c02c632 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dar=C3=ADo=20Kondratiuk?= Date: Tue, 28 Jan 2020 18:36:02 -0300 Subject: [PATCH] docs(api.md) Rename page to context in newContext The user agent is for the context not the page --- docs/api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api.md b/docs/api.md index 6e817d2ba8eec..bc1054d2f8103 100644 --- a/docs/api.md +++ b/docs/api.md @@ -211,7 +211,7 @@ Indicates that the browser is connected. - `height` <[number]> page height in pixels. - `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. Defaults to `false`. - - `userAgent` Specific user agent to use in this page + - `userAgent` Specific user agent to use in this context. - `javaScriptEnabled` Whether or not to enable or disable JavaScript in the page. Defaults to true. - `timezoneId` Changes the timezone of the page. 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]>