I have a basic login test with selenium and testng. When executed from eclipse, it works as expected and invoke Google Chrome. If executed from TESTNG command line, it works
I ran the following command to install chromedriver and it worked:
brew cask install chromedriver