
added a cache clearing, so that system won't shutdown out of storage
@81b712632c43783a1c395fa3c3f16cb0e520013b
--- utils/cache_clear.py
+++ utils/cache_clear.py
... | ... | @@ -1,3 +1,9 @@ |
1 |
+# https://stackoverflow.com/questions/50456783/python-selenium-clear-the-cache-and-cookies-in-my-chrome-webdriver |
|
2 |
+# by Prakash Dahal |
|
3 |
+# CCL 3.0 BY-SA, |
|
4 |
+# DO NOT MIX THIS CODE WITH OTHER PROJECT AND MUST REMAIN A SEPARATE FILE |
|
5 |
+ |
|
6 |
+ |
|
1 | 7 |
# import undetected_chromedriver as uc |
2 | 8 |
from selenium.webdriver.common.action_chains import ActionChains |
3 | 9 |
from selenium.webdriver.common.keys import Keys |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?