Selenium Remote Webdriver with remote profile
No, it is not possible to pass path of remote profile in case of remote webdriver. The reason being that all remote communication is handled by command executor. Where as browser profile is dealing with local file system only. Though default profile can be configured on server.
here's what I was looking for:
fp = webdriver.FirefoxProfile() fp.set_preference("browser.startup.homepage_override.mstone", "ignore") fp.set_preference("focusmanager.testmode", True) fp.update_preferences() driver = webdriver.Remote( command_executor='http://127.0.0.1:4444/wd/hub', desired_capabilities={'browserName': 'firefox', 'javascriptEnabled': True}, browser_profile=fp )
reference: