add_device_emulation method

Class: ConfigurationPlatform: Selenium 3Language: Python SDK:

Request that the Ultrafast Grid generate checkpoint images for an emulated mobile device.

Syntax


configval = config.add_device_emulation(device_name, orientation)

configval = config.add_device_emulation(device_name)

Parameters

device_name
Type:DeviceName
The name of the device, from the list of devices defined by DeviceName.
orientation
Type:ScreenOrientation [Optional : default = ScreenOrientation.PORTRAIT ]
Whether the device is in portrait or landscape mode.

Return value

Type: Configuration
The value returned is the object that called the method. This allows you to use a fluent style to call the setXXXX methods of this class.