You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I specify an empty folder via _user_data_dir and then the Default folder with Preferences is created in this folder and the main browser is opened, but the folder I specified is not used.
Code
if bin_folder:
options._user_data_dir = bin_folder # C:\Users\RUN\PycharmProjects\m\a\1\data_dir
P.S. How to make the browser close and delete itself, if the code was stopped and did not reach driver.quit . I think it happened in selenium where the browser was closed when closing the code.
The text was updated successfully, but these errors were encountered:
Could you add this function
P.S. How to make the browser close and delete itself, if the code was stopped and did not reach driver.quit . I think it happened in selenium where the browser was closed when closing the code.
I specify an empty folder via _user_data_dir and then the Default folder with Preferences is created in this folder and the main browser is opened, but the folder I specified is not used.
Code
P.S. How to make the browser close and delete itself, if the code was stopped and did not reach driver.quit . I think it happened in selenium where the browser was closed when closing the code.
The text was updated successfully, but these errors were encountered: