Skip to content

Commit 9d34f28

Browse files
kblokaslushnikov
authored andcommitted
docs(api.md) Rename page to context in newContext (#718)
The user agent is for the context not the page
1 parent 62f4ed6 commit 9d34f28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ Indicates that the browser is connected.
211211
- `height` <[number]> page height in pixels.
212212
- `deviceScaleFactor` <[number]> Specify device scale factor (can be thought of as dpr). Defaults to `1`.
213213
- `isMobile` <[boolean]> Whether the `meta viewport` tag is taken into account. Defaults to `false`.
214-
- `userAgent` <?[string]> Specific user agent to use in this page
214+
- `userAgent` <?[string]> Specific user agent to use in this context.
215215
- `javaScriptEnabled` <?[boolean]> Whether or not to enable or disable JavaScript in the page. Defaults to true.
216216
- `timezoneId` <?[string]> 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.
217217
- `geolocation` <[Object]>

0 commit comments

Comments
 (0)