R
R
r1dddy4sv2021-05-17 12:58:39
Python
r1dddy4sv, 2021-05-17 12:58:39

User data dir selenium without changing folder?

I use the argument options.add_argument(f"--user-data-dir={path}")to save cookies for further authorization on the site,
but when using this argument, already at startup to Use saved cookies, as I understand it, the folder with all this data changes for this very launch
Is there an easy option, do not change the folder used in user data dir when starting chromedriver?

perhaps a little unclear explained)

Thank you for any information!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
J
JokerGTS, 2021-06-09
@JokerGTS

To work with your folders, you need a separate profile in the browser.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question