ViewportSize property
Use this property to set and retrieve the viewport size to be used by the browser for the test.
Syntax
RectangleSize configval; // give relevant initial value
config.ViewportSize = configval;
configval = config.ViewportSize
Type:RectangleSize