getEmulationInfo method

Class: RenderBrowserInfoPlatform: Selenium 3Language: Java SDK:

Returns information about the Browser emulation if defined for this browser configuration, or null if not defined.

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 getDeviceName and getScreenOrientation.