Method SystemUtil.CloseProcessByName
Closes process by given nameUsage
Function ZAP.SystemUtil.CloseProcessByName (
String ProcessName,
Boolean CloseAllMatches [Optional]
)
Parameters
ProcessName
Type: Integer
Process name
CloseAllMatches (optional)
Type: Boolean
Default value: false
Option to close All processes with given name
Returns
No return value
Example
VBScript
Zap.SystemUtil.CloseProcessByName "Google Chrome", false
JavaScript
Zap.SystemUtil.CloseProcessByName("Google Chrome", false);
Comment
Close "Google Chrome" process