Up until recently (before Feb 4th 2018 fo sure) I was able to switch focus to the active Google Chrome windows or run the app if it is not running with:
open "/Applications/Google Chrome.app"
Now the same command opens new window of Google Chrome instead of switching to the existing one.
I do not understand why it happens and why it changed all of a sudden. I did nothing special in between so it must be due to automatic updates of Google Chrome. How can I achieve previous behaviour?
I of course also searched for a solution but did not find anything relevant. I have tried to run Chrome directly with:
$ /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome
It gives the same result (opens new window) and I also got this message in the terminal:
Created new window in existing browser session. [some strange numbers here:ERROR:browser_gpu_channel_host_factory.cc(121)] Failed to launch GPU process.
I do not understand this error but forums (e.g., here) suggest to do
It did not work for me. So here I am asking for help)
(MacOS 10.13.3, Google Chrome Version 64.0.3282.119 installed with
brew cask install google-chrome)