Skip to content

Commit

Permalink
Recommend --user-data-dir instead of CHROME_USER_DATA_DIR
Browse files Browse the repository at this point in the history
  • Loading branch information
Garrett Robinson committed Jun 28, 2018
1 parent b93233b commit 35d64c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/data/import/brave-browser-laptop/README
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ Since Brave browser-laptop is based on Chromium (via Muon/Electron), most of the

# Generating test data

Unlike Chrome/Chromium, Brave browser-laptop does not support multiple profiles, so if you use Brave as your regular web browser, it may not be immediately obvious how you can create a separate profile for the purpose of generating test data. I found the least obtrusive method to be setting the CHROME_USER_DATA_DIR environment variable, e.g. on macOS:
Unlike Chrome/Chromium, Brave browser-laptop does not support multiple profiles, so if you use Brave as your regular web browser, it may not be immediately obvious how you can create a separate profile for the purpose of generating test data. You can specify a custom user data directory with the `--user-data-dir` flag, e.g on macOS:

TEST_UDD=/path/to/test/user/data/dir
mkdir -p $TEST_UDD
CHROME_USER_DATA_DIR=$TEST_UDD /Applications/Brave.app/Contents/MacOS/Brave
/Applications/Brave.app/Contents/MacOS/Brave --user-data-dir=$TEST_UDD

0 comments on commit 35d64c8

Please sign in to comment.