Skip to main content

RenderBrowserInfo class

Platform: Appium
Language: Java


This class is used to provide information as to how a test was rendered using the Ultrafast Grid.

Import statement

import com.applitools.eyes.visualgrid.model.RenderBrowserInfo;

getBaselineEnvName method

Syntax

String value = obj.getBaselineEnvName();

Parameters

This method does not take any parameters.

Return value

Type: String

getBrowserType method

Syntax

BrowserType value = obj.getBrowserType();

Parameters

This method does not take any parameters.

Return value

Type: BrowserType

getEmulationInfo method

Syntax

EmulationBaseInfo value = obj.getEmulationInfo();

Parameters

This method does not take any parameters.

Return value

Type: EmulationBaseInfo

Remarks

Cast this value to ChromeEmulationInfo, and then you can access the device name and screen orientation using the getDeviceName method and getScreenOrientation method.

getHeight method

Syntax

int value = obj.getHeight();

Parameters

This method does not take any parameters.

Return value

Type: int

getIosDeviceInfo method

Syntax

IosDeviceInfo value = obj.getIosDeviceInfo();

Parameters

This method does not take any parameters.

Return value

Type: IosDeviceInfo

getPlatform method

Syntax

String value = obj.getPlatform();

Parameters

This method does not take any parameters.

Return value

Type: String

getWidth method

Syntax

int value = obj.getWidth();

Parameters

This method does not take any parameters.

Return value

Type: int