docs: rename viewport option to viewportSize in java, C# (#5383)

This commit is contained in:
Yury Semikhatsky 2021-02-09 16:50:32 -08:00 committed by GitHub
parent 3695dab1d5
commit 152701a273
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -195,7 +195,9 @@ Whether to ignore HTTPS errors during navigation. Defaults to `false`.
Toggles bypassing page's Content-Security-Policy.
## context-option-viewport
* langs: java, js
* langs: js, java
- alias-java: viewportSize
- alias-csharp: viewportSize
- `viewport` <[null]|[Object]>
- `width` <[int]> page width in pixels.
- `height` <[int]> page height in pixels.