I'm trying to clear the cache and cookies in my firefox browser but I can't get it to work. I have searched it up and i'm only getting solutions for java and C#. How do I clear the cache and cookies in Python?
selenium version: 3.6.0
platform: python
python version: 2.7.8
webdriver: geckodriver
browser platform: Firefox
for cookies use 'delete_all_cookies()' function
for cache create profile