E
E
estry2020-07-06 11:22:48
C++ / C#
estry, 2020-07-06 11:22:48

How to save selenium profile?

Hello.
How to save the current profile in Selenium for Chrome and where is it saved by default? How can I change the default save path for a profile?

I know the solution to load the profile, but I can’t figure out how to save it :(

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
ScriptKiddo, 2020-07-06
@estry

You can explicitly specify the location where the profiles will be saved
https://chromium.googlesource.com/chromium/src.git...

opt.AddArgument("--user-data-dir=C:\\user\\data\\dir");

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question