The information in this topic may be out of date. The current SDK reference guide has moved here.

viewportSize property

Class: ConfigurationPlatform: XCUILanguage: Objective-C SDK:

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


Call syntax

CGSize configval; // give relevant initial value
config.viewportSize  = configval
configval = config.viewportSize


 (assign, nonatomic) CGSize viewportSize


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