SetViewportSize Method (BrowserWindow)

Action

Sets the size of the browser window to the specified width and height.

Syntax

browserWindow.SetViewportSize(width, height)
Variable Description
width The new width of the browser window. Integer.
height The new height of the browser window. Integer.