setContentsSize
suspend fun setContentsSize(args: Browser.SetContentsSizeParameter, mode: CommandMode = CommandMode.DEFAULT)
Set size of the browser contents resizing browser window as necessary.
Set size of the browser contents resizing browser window as necessary.
Parameters
windowId
Browser window id.
width
The window contents width in DIP. Assumes current width if omitted. Must be specified if 'height' is omitted.
height
The window contents height in DIP. Assumes current height if omitted. Must be specified if 'width' is omitted.