viewportSize property

Class: ConfigurationPlainPlatform: ProtractorLanguage: JavaScript SDK:

Set the viewport size to be used by the browser for the test.

Syntax

config = { viewportSize: value_RectangleSizePlain };

Type:RectangleSizePlain

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