-
I was using user_data_dir = profilePath/ in my start() and I afk'd for some time only to come back and try to restart my program some time later and it not starting. I am running my py code directly from cmd. I suspected that it must have been my profile that broke, so removing user_data_dir did actually fix my problem. but now I cant use my old profile since I assume it has been somehow broken. I tried to make a new profile but user_data_dir is just busted now and idk how to fix it I have a feeling this has to do with my code not removing temp profiles until the program fully ends? I close and reopen the windows (I might change it to not do this in future) in my program and each time I close it doesnt seem to remove temp profile. could the code killing before the removal of the temp profile break the profile specified in user_data_dir? Edit: I just tried it on my other computer that I didnt have this restarting issue and its also broken. did a chrome update break something? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
this is the error I get when starting with a profile path now
I did try setting sandbox=False as you can see in the arguments but still nothing works. |
Beta Was this translation helpful? Give feedback.
-
if i use absolute path (i was using a relative) it still doesnt work in either user_data_dir, or using the flag f"--user-data-dir=path" using user_data_dir fails to start the chrome instance, the flag starts but doesnt load the profile |
Beta Was this translation helpful? Give feedback.
-
Im bad and the answer was that my cmd wasnt given admin. thanks for reading the logs of my incompetence. |
Beta Was this translation helpful? Give feedback.
Im bad and the answer was that my cmd wasnt given admin. thanks for reading the logs of my incompetence.