728x90
반응형
profile = webdriver.FirefoxProfile()
profile.set_preference("browser.cache.disk.enable", False)
profile.set_preference("browser.cache.memory.enable", False)
profile.set_preference("browser.cache.offline.enable", False)
profile.set_preference("network.http.use-cache", False)
driver = webdriver.Firefox(profile)
[reference] https://stackoverflow.com/questions/18378331/clear-firefox-cache-in-selenium-ide
728x90
반응형
'공부 (@Deprecated)' 카테고리의 다른 글
| [Shell] Sizeof byte file (0) | 2020.02.09 |
|---|---|
| [Python] Check array out of range (0) | 2020.02.09 |
| [Python] Selenium in private mode (0) | 2020.02.09 |
| [JS] Sort object property (0) | 2020.02.09 |
| [JS] Sort array ASC, DESC (1) | 2020.02.09 |