My issue is when i pass profile as an option:
options.add_argument("--user-data-dir=C:\\Users\\shimon\\AppData\\Local\\Google\\Chrome\\User Data")
options.add_argument("--profile-directory=Profile 3")
The download set path seems to take no affect
prefs = {"download.default_directory": "C:\\Users\\shimon\\PycharmProjects\\project_2\\downloaded\\files"}
options.add_experimental_option("prefs", prefs)
If I remove the profile
options.add_argument("--profile-directory=Profile 3")
It works well. Is there any solution for that? couldn't find any related issue.