SetViewportName (BrowserWindow)

Class

BrowserWindow.

Action

Set the size of the browser window to the specified size from your Browser Size list.

Availability

This functionality is supported only if you are using the Open Agent.

Syntax

browserWindow.SetViewportName(viewportName [, orientation])
Variable Description
viewportName The name of the browser size in your Browser Size list. INTEGER.
orientation Optional: The orientation of the browser window. DisplayOrientation.