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.


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

Type:<a class ='link' href='/Content/api/eyes-sdk/index-gen/class-rectanglesize-images-python_sdk4.htm'>RectangleSize</a>

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