docs: spread parameters of page.setViewportSize in java (#5664)
This commit is contained in:
parent
c390f3950f
commit
cad763491e
|
|
@ -2363,10 +2363,19 @@ page.goto("https://example.com")
|
||||||
```
|
```
|
||||||
|
|
||||||
### param: Page.setViewportSize.viewportSize
|
### param: Page.setViewportSize.viewportSize
|
||||||
|
* langs: js, python
|
||||||
- `viewportSize` <[Object]>
|
- `viewportSize` <[Object]>
|
||||||
- `width` <[int]> page width in pixels.
|
- `width` <[int]> page width in pixels.
|
||||||
- `height` <[int]> page height 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
|
## async method: Page.tap
|
||||||
|
|
||||||
This method taps an element matching [`param: selector`] by performing the following steps:
|
This method taps an element matching [`param: selector`] by performing the following steps:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue