Class: ConfigurationPlatform: ImagesLanguage: C# SDK:
Set the viewport size to be used by the browser for the test.
IConfiguration configval = config.SetViewportSize(width, height); IConfiguration configval = config.SetViewportSize(value);
- The width of the test browser viewport in pixels.
- The height of the test browser viewport in pixels.
- An object that defines the width and height of the test browser viewport in pixels.
- Type: IConfiguration
The value returned is the object that called the method.
This allows you to use a fluent style to call the
setXXXXmethods of the Configuration class.