run chrome with flags.
var startChrome = require("start-chrome");
startChrome("http://www.google.com");
startChrome
To use a command line switch.
startChrome("http://www.google.com", {'user-data-dir': path.join(__dirname, './chrome-user-data'),});
npm install start-chrome