ViewportSize property

Class: EyesPlatform: Selenium 3Language: C# SDK:

Set the default viewport size property. Eyes will use this if a subsequent call to Open is done without a viewport size. This also changes the browser viewport size to the given size immediately, instead of when Open is called.

This property will be displayed by the Test manager along with the other test information. The value is also taken into consideration when finding a matching baseline.

Syntax


RectangleSize value; // give relevant initial value
Eyes.ViewportSize  = value;
value = Eyes.ViewportSize

Type:RectangleSize

Remarks

This method is a static method.