I can open regular URLs with open and open -a "Google Chrome.app" but this doesn't work for chrome:// urls, e.g.
$ open -a "Google Chrome.app" chrome://bookmarks The file /Users/andreas/chrome:/bookmarks does not exist. How do you open chrome:// URLs from the command line on Mac OS X?
1 Answer
chrome-cli might work:
chrome-cli open <url> (Open url in new tab) chrome-cli open <url> -n (Open url in new window) chrome-cli open <url> -i (Open url in new incognito window) chrome-cli open <url> -t <id> (Open url in specific tab) chrome-cli open <url> -w <id> (Open url in new tab in specific window)