I've updated and significantly reworked @petele's article on the Get Installed Related Apps API.
https://developer.chrome.com/docs/capabilities/get-installed-related-apps
Since Chromium 140, the API now also supports web apps on desktop platforms (Windows, macOS, Linux, and ChromeOS).






