Skip to content

Selenium-Profiles & -Driverless -> Where is the tmp profile saved? #85

Closed Answered by kaliiiiiiiiii
nicostrebel asked this question in Q&A
Discussion options

You must be logged in to vote

Where is the temp. profile stored?

you can set the path with options.add_argument("--user-data-dir=" + user_data_dir)
and then copy the profile to another directory before driver.quit().

How do i load this profile with the driver after i have copied it to an permanent storage?

just load it again with options.add_argument("--user-data-dir=" + user_data_dir)

@nicostrebel please mark this as the answer, if it resolves your question

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by nicostrebel
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants