docs: spread parameters of page.setViewportSize in java (#5664)

This commit is contained in:
Yury Semikhatsky 2021-03-01 13:35:17 -08:00 committed by GitHub
parent c390f3950f
commit cad763491e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2363,10 +2363,19 @@ page.goto("https://example.com")
```
### param: Page.setViewportSize.viewportSize
* langs: js, python
- `viewportSize` <[Object]>
- `width` <[int]> page width in pixels.
- `height` <[int]> page height in pixels.
### param: Page.setViewportSize.width
* langs: csharp, java
- `width` <[int]> page width in pixels.
### param: Page.setViewportSize.height
* langs: csharp, java
- `height` <[int]> page height in pixels.
## async method: Page.tap
This method taps an element matching [`param: selector`] by performing the following steps: