From 1d7d08c310321f3b7aa316fb913b2635789d1868 Mon Sep 17 00:00:00 2001 From: Yury Semikhatsky Date: Mon, 1 Mar 2021 15:16:38 -0800 Subject: [PATCH] docs: spread parameters of page.setViewportSize in java (#5664) (#5667) --- 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 e553fc94dc..bfede2360e 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: