MacOS命令行運行Chrome
通過命令打開Chrome,自動加載網頁、加載文件、播放視頻等
在應用程序中找到Chrome的安裝路徑,直接運行Chrome程序
1、Chrome 自動播放視頻
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome ~/Desktop/test.mp4
2、Chrome 自動加載網頁
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome https://www.google.com