Legacy | Start PWA

  • Command: pwa

  • Subcommand: start

  • Supported Platforms: Native (legacy), Selenium (legacy), Appium

    All commands must be executed using the same framework. Sharing the execution ID between different frameworks is not possible. This means that if you work with a Selenium/Appium driver, you need to call the commands using the Selenium/Appium driver (or, in the case of Reporting commands, through the Reporting SDK that works with the driver) and not as part of a UFT test or another framework.

  • Supported OS:  iOS

Description

Launches a progressive web application (PWA) on the device. To use this command, the display name of the PWA icon is required.

Restriction: Command is not supported for iPad devices in Landscape mode.

Parameters

Name Value Default Description
deviceID*     The device for this command.
displayName*     Provides the display name of the PWA icon, identifies the PWA application to activate.

* Mandatory parameter

Request & Response

Copy

Request

https://mycloud.perfectomobile.com/services/executions/samb@perfectomobile.com_controller_16-11-06_08_38_40_392?operation=command&securityToken=<your_token>&command=pwa&subcommand=start&param.deviceId=9A5F8BA0&param.displayName="single check"
Copy

JSON response

{
    "reason" : "Success"}

Limitation

The command is not supported for iPad in Landscape mode.