mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-15 06:02:57 +03:00
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
|
||||
* 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:
|
||||
|
Loading…
Reference in New Issue
Block a user