Skip to content

Commit

Permalink
docs: spread parameters of page.setViewportSize in java (microsoft#5664
Browse files Browse the repository at this point in the history
  • Loading branch information
yury-s authored Mar 1, 2021
1 parent 5d275f1 commit 1d7d08c
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/src/api/class-page.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 1d7d08c

Please sign in to comment.