I couldn't really find this information anywhere, I am looking for a list of possible keys that can be used in the profile.set_preference()
API.
Here is some context:
from selenium import webdriver
from pyvirtualdisplay import Display
display = Display(visible=0, size=(1024, 768))
display.start()
profile = webdriver.FirefoxProfile()
Now, if I want to, say specify a client SSL, I need to configure that as a preference of FireFox profile. I am trying to find the list of all the preferences so I can play with this.
I usually just open
about:config
and search the list of preferences there. There is also this helpful resource which documents part of the preferences.You can look at
profile.DEFAULT_PREFERENCES
which is thejson
atpython2.7/site-packages/selenium/webdriver/firefox/webdriver_prefs.json