![]() I use the following to set my Firefox profile preferences: fp = webdriver.FirefoxProfile()įp.set_preference("", 1)įp.set_preference("", False)įp.set_preference("",False)įp.set_preference("", "H:\Downloads")įp.set_preference("","H:\Downloads")įp.set_preference("","H:\Downloads")īinary = FirefoxBinary(r'C:\Program Files (x86)\Mozilla Firefox\Firefox.exe')įirefox_capabilities = DesiredCapabilities.FIREFOXįirefox_capabilities = Trueĭriver = webdriver.Firefox(capabilities=firefox_capabilities, firefox_binary=binary, firefox_profile = fp)įrom what I understand after reading Unable to set firefox profile preferences and FirefoxProfile passed to FirefoxDriver, it seems that nothing is being done when using firefox_profile now. I use Selenium Marrionette and GeckoDriver to pull web data.
0 Comments
Leave a Reply. |