I am trying to start a remote webdriver instance of Firefox and pass to the profile.
profile = webdriver.FirefoxProfile() profile.set_preference("browser.download.folderList","2") self.webdriver = webdriver.Remote(desired_capabilities=webdriver.DesiredCapabilities.FIREFOX,browser_profile=profile)
this does not work. If I pass it to an instance of webdriver Firefox, it works fine
profile = webdriver.FirefoxProfile() profile.set_preference("browser.download.folderList","2") self.webdriver = webdriver.Firefox(firefox_profile=profile)
Is there a mistake? I am using Firefox 9 and Selenium 2.16
source share