For automation purpose, is it possible to create new user profile for Google Chrome using terminal?
Also, after creation of new user profile can we start chrome with the created one?
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.Sign up to join this community
Default google-chrome user profile data stored at
If you want to create new profile then use command:
google-chrome --user-data-dir=test --first-run
It will create new profile data directory test. You can give any name to this directory and any location. It will keep cookies, history and all data relate to this user.
Next time if you want to use this profile then use command:
Or you can make it default browser also.
EDIT : Thank you @snoop for suggest
If you don't want to see default browser pop-up then you can use command:
google-chrome --user-data-dir=test --no-first-run --no-default-browser-check
It is discussed bug here.