viewport_size property

Class: ConfigurationPlatform: ImagesLanguage: Python SDK:

This property can be used to set and retrieve the viewport size to be used by the browser for the test.

Syntax


config.viewport_size  = configval # type is RectangleSize
configval = config.viewport_size

Type:RectangleSize

An object that defines the width and height of the test browser viewport in pixels.