저는 파이썬에서 테스트 케이스와 함께 사용하는 FF에 대한 프로필 설정이 있습니다. 내가 아는 한 그것은 더 나은 성능을합니다 :
profile = webdriver.FirefoxProfile()
profile.set_preference('general.useragent.override', user_agent)
# Paint delay off
profile.set_preference('nglayout.initialpaint.delay', 0)
# Tabs animation
profile.set_preference('browser.tabs.animate', False)
# Gif animation off
profile.set_preference('image.animation_mode', 'none')
# Tabs memory off
profile.set_preference('browser.sessionhistory.max_total_viewer', 1)
profile.set_preference('browser.sessionhistory.max_entries', 3)
profile.set_preference('browser.sessionhistory.max_total_viewers', 1)
profile.set_preference('browser.sessionstore.max_tabs_undo', 0)
# Asynchronous requests to the server
profile.set_preference('network.http.pipelining', True)
profile.set_preference('network.http.pipelining.maxrequests', 8)
# Cache enabled
profile.set_preference('browser.cache.memory.enable', True)
profile.set_preference('browser.cache.disk.enable', True)
# Autosuggests
profile.set_preference('browser.search.suggest.enabled', False)
# Formfills
profile.set_preference('browser.formfill.enable', False)
# scan downloads
profile.set_preference('browser.download.manager.scanWhenDone', False)
# no bookmarks backup
profile.set_preference('browser.bookmarks.max_backups', 0)
자바 구문을보십시오.
Firefox 버전? – Hemanth
22, 23, 24 이후에 이것을 관찰했습니다 – Anirudh
추가 디버깅을 진행하기 전에 반드시이 부분을 붙여 넣은 링크에서 확인 했습니까? 앨런이 맞습니다! 나를 위해 파이어 폭스를 시작하는 데 2 초 30 초가 걸렸습니다. 제어판 \ 네트워크 및 인터넷 \ 네트워크 연결에있는 사용되지 않는 네트워크 어댑터를 비활성화 한 후 문제가 해결되어 이제는 10 초 만에 시작됩니다. – Hemanth