Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting custom profile with command line switch "--user-data-dir" will fail and open new profile every time #6

Open
svn-dys opened this issue Apr 14, 2023 · 1 comment

Comments

@svn-dys
Copy link

svn-dys commented Apr 14, 2023

Unfortunately --user-data-dir=/path/to/existing/profile switch is not working, thus rendering issues that rely on previously saved data useless and un-bisectable... :(

Command used:
python tools/bisect-builds.py -a win64 -g 1117753 -b 1129888 --use-local-cache -- --enable-features=TabGroupsSave --no-first-run --user-data-dir=/existing/profile

I have tried setting the profile directory to --user-data-dir=/tmp as described in the doc, but it's not working either... :(

I cannot bisect an issue as it requires a previously saved tab group (a new feature of Chrome) to be loaded and saved already.

:(

@svn-dys
Copy link
Author

svn-dys commented Apr 14, 2023

Okay, I resolved my own issue. I see in bisect-builds.py that you have to pass --profile || -p || --user-data-dir before the command line switches for Chrome.

My fixed command:
python tools/bisect-builds.py -a win64 -g 1117753 -b 1129888 --use-local-cache --verify-range --profile C:/Users/Name/chromium/src/out/Default/tmp -- --enable-features=TabGroupsSave

However in the doc, the example passes --user-data-dir as a Chrome command line switch rather than a bisect-builds switch.

Example from doc:
python tools/bisect-builds.py -a mac -g 782793 -b 800218 --use-local-cache --verify-range -- --no-first-run --user-data-dir=/tmp http://example.com

The doc should be updated OR It might be that it's a bug with passing --user-data-dir to Chrome.

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant