ChromeEmulationInfo class
Objects of this class are used to configure the Ultrafast Grid to render checkpoints by emulating a device by using Chrome mobile emulation.
Using statement
using Applitools.VisualGrid;
ChromeEmulationInfo method
Syntax
ChromeEmulationInfo obj = new ChromeEmulationInfo(deviceName, screenOrientation);
ChromeEmulationInfo obj = new ChromeEmulationInfo(deviceName);
Parameters
deviceName
Type: DeviceName
The name of the device, a value from the set of devices defined by DeviceName.
screenOrientation
Type: ScreenOrientation [Optional : default = ScreenOrientation.Portrait ]
If the device should be rendered in portrait (vertical) or landscape (horizontal) orientation.
Return value
Type: ChromeEmulationInfo
Remarks
The viewport width and height used to identify the baseline, is defined implicitly by the screen characteristics of the device.
DeviceName property
Syntax
DeviceName value; // give relevant initial value
obj.DeviceName = value;
value = obj.DeviceName
Type: DeviceName
ScreenOrientation property
Syntax
ScreenOrientation value; // give relevant initial value
obj.ScreenOrientation = value;
value = obj.ScreenOrientation
Type: ScreenOrientation