Stop PWA (FR)

Perfecto Command

mobile:pwa:stop

Purpose

iOS devices only. Closes the progressive web application (PWA) currently running in the foreground.

Parameters

None

Return Value

None

Exceptions

None

Examples

Copy

Java sample

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

C# sample

driver.ExecuteScript("mobile:pwa:stop");