티스토리 뷰

공부

[Python] Selenium in private mode

seunggabi 승가비 2020. 2. 9. 02:54
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

'공부' 카테고리의 다른 글

[Python] Check array out of range  (0) 2020.02.09
[Python] Selenium clear cache  (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  (0) 2020.02.09
[JS] Unique array  (0) 2020.02.09
댓글
댓글쓰기 폼
공지사항
최근에 달린 댓글
Total
28,468
Today
5
Yesterday
49
«   2020/02   »
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
글 보관함