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.


EmulationBaseInfo value = obj.getEmulationInfo();


This method does not take any parameters.

Return value

Type: EmulationBaseInfo


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