728x90
반응형
from selenium import webdriver
firefox_profile = webdriver.FirefoxProfile()
firefox_profile.set_preference("browser.privatebrowsing.autostart", True)
driver = webdriver.Firefox(firefox_profile=firefox_profile)
[reference] https://stackoverflow.com/questions/27425116/python-start-firefox-with-selenium-in-private-mode
728x90
반응형
'공부 (@Deprecated)' 카테고리의 다른 글
| [Python] Check array out of range (0) | 2020.02.09 |
|---|---|
| [Python] Selenium clear cache (0) | 2020.02.09 |
| [JS] Sort object property (0) | 2020.02.09 |
| [JS] Sort array ASC, DESC (1) | 2020.02.09 |
| [JS] unique array (0) | 2020.02.09 |