path of chrome in mac code example
Example 1: mac where what is chrome executable
find / -type d -name "*Chrome.app"
Example 2: mac where what is chrome executable
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -dump | grep -i "google chrome"