Quit browser using command line in macOS - bug?

&closeRPA=1&closeBrowser=1

command doesn’t kill the app in macOS. It just closes the browser window but it doesn’t quit the application entirely. Is this a bug or intended behavior? If intended behavior, maybe there can be another command quitApplication=1 if you want to quit the app entirely?

This is on macOS and chrome

To get around this I am using a keyboard shortcut CMD+Q. This quits the application.