Bug 837068 - Allow profile path to be passed in Marionette Tests

This commit is contained in:
Olivier Morandi 2013-02-01 02:39:00 +00:00
parent f6c7cc799f
commit 90e6452674

View File

@ -21,6 +21,8 @@ class GeckoInstance(object):
"marionette.defaultPrefs.port": 2828,
"browser.warnOnQuit": False}
profile = {"preferences": prefs, "restore":False}
else:
profile = {"profile": profile}
print "starting runner"
self.runner = Runner.create(binary=self.bin, profile_args=profile, cmdargs=['-no-remote'])
self.runner.start()