Start an application using a Perfecto command

Use the Perfecto proprietary command mobile:application:open to start an installed application.

To learn more about this command, including available parameters, see Start application (FR).

Copy

Start application

//declare the Map for script parameters
Map<String, Object> params = new HashMap<>();
 
params.put("identifier", "com.google.android.apps.maps");
driver.executeScript("mobile:application:open", params);