IosDeviceInfo method

Class: IosDeviceInfoPlatform: Selenium 3Language: Python SDK:

Create an object that can be used to configure the Ultrafast Grid to render checkpoints by running a Safari browser on an iOS simulator.

Syntax


obj = IosDeviceInfo(device_name, screen_orientation, ios_version, baseline_env_name)

obj = IosDeviceInfo(device_name, screen_orientation, ios_version)

obj = IosDeviceInfo(device_name, screen_orientation)

obj = IosDeviceInfo(device_name)

Parameters

device_name
Type:IosDeviceName
One of the devices from the enumerated type of this parameter
screen_orientation
Type:ScreenOrientation [Optional : default = ScreenOrientation.PORTRAIT ]
The orientation of the device (portait or landscape). If this parameter is not provided then the default is ScreenOrientation.PORTRAIT
ios_version
Type:IosVersion [Optional : default = None ]
The iOS version to use when rendering the checkpoint for this device.
baseline_env_name
Type:Text [Optional : default = None ]
The name of the baseline environment.

Return value

Type: IosDeviceInfo