From cad763491e75a0f881925f7b755b7cc070add252 Mon Sep 17 00:00:00 2001 From: Yury Semikhatsky Date: Mon, 1 Mar 2021 13:35:17 -0800 Subject: [PATCH] docs: spread parameters of page.setViewportSize in java (#5664) --- docs/src/api/class-page.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/src/api/class-page.md b/docs/src/api/class-page.md index 9978dd333b..554cc0813c 100644 --- a/docs/src/api/class-page.md +++ b/docs/src/api/class-page.md @@ -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: