Page tree
Skip to end of metadata
Go to start of metadata

Last updated: May 24, 2018 12:25

Perfecto Command

mobile:pwa:stop

Purpose

For iOS devices, use this function to stop the PWA running in the foreground.

Parameters

None

Return Value

None

Exceptions

None

Examples

Java sample
//declare the Map for script parameters
Map<String, Object> params = new HashMap<>();
  
driver.executeScript("mobile:pwa:stop", params);
C# sample
driver.ExecuteScript("mobile:pwa:stop");