Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(15)  |  Call(6)  |  Derive(0)  |  Import(9)
Specialized Profile subclass for Firefox

src/w/p/wptrunner-0.2.5/wptrunner/browser.py   wptrunner(Download)
 
import mozprocess
from mozprofile import FirefoxProfile, Preferences
from mozprofile.permissions import ServerLocations
from mozrunner import FirefoxRunner, B2GRunner
        preferences = self.load_prefs()
 
        profile = FirefoxProfile(locations=locations, proxy=True, preferences=preferences)
        profile.set_preferences({"marionette.defaultPrefs.enabled": True,
                                 "marionette.defaultPrefs.port": self.marionette_port})
    def start(self):
        locations = ServerLocations(filename=os.path.join(here, "server-locations.txt"))
 
#        preferences = self.load_prefs()
        profile = FirefoxProfile(locations=locations, proxy={"remote": moznetwork.get_ip()})#,

src/m/o/mozrunner-5.36/mozrunner/local.py   mozrunner(Download)
    from plistlib import readPlist
 
from mozprofile import Profile, FirefoxProfile, MetroFirefoxProfile, ThunderbirdProfile, MozProfileCLI
 
from .base import Runner

src/r/u/runFBTests-2.0.1/runFBTests/fb_run.py   runFBTests(Download)
 
from mozrunner import FirefoxRunner
from mozprofile import FirefoxProfile
from optparse import OptionParser
from ConfigParser import ConfigParser, NoOptionError, NoSectionError
            self.log.debug("Creating Firefox profile and installing extensions")
            prefs = {"extensions.update.enabled" : "false"}
            mozProfile = FirefoxProfile(profile=self.profile, addons=["firebug.xpi", "fbtest.xpi"], preferences=prefs)
            self.profile = mozProfile.profile
 

src/m/o/mozregression-0.16/mozregression/runnightly.py   mozregression(Download)
 
from mozfile import rmtree
from mozprofile import FirefoxProfile
from mozprofile import ThunderbirdProfile
from mozrunner import Runner

src/m/o/mozregression-HEAD/mozregression/runnightly.py   mozregression(Download)
 
from mozfile import rmtree
from mozprofile import FirefoxProfile
from mozprofile import ThunderbirdProfile
from mozrunner import Runner

src/a/u/autophone-HEAD/tests/s1s2test.py   autophone(Download)
from logdecorator import LogDecorator
from adb import ADBError
from mozprofile import FirefoxProfile
from options import *
from phonetest import PhoneTest
        if isinstance(custom_prefs, dict):
            prefs = dict(prefs.items() + custom_prefs.items())
        profile = FirefoxProfile(preferences=prefs, addons='%s/xpi/quitter.xpi' %
                                 os.getcwd())
        if not self.install_profile(profile):

src/a/u/autophone-HEAD/tests/smoketest.py   autophone(Download)
 
from logdecorator import LogDecorator
from mozprofile import FirefoxProfile
from phonetest import PhoneTest
 
                  'toolkit.telemetry.prompted': 999,
                  'toolkit.telemetry.notifiedOptOut': 999 }
        profile = FirefoxProfile(preferences=prefs)
        self.install_profile(profile)
 

src/a/u/autophone-HEAD/phonetest.py   autophone(Download)
from logdecorator import LogDecorator
from adb import ADB, ADBError
from mozprofile import FirefoxProfile
from options import *
 
    def install_profile(self, profile=None):
        if not profile:
            profile = FirefoxProfile()
 
        profile_path_parent = os.path.split(self.profile_path)[0]

src/p/e/peptest-1.0/peptest/runpeptests.py   peptest(Download)
 
from optparse import OptionParser
from mozprofile import FirefoxProfile, ThunderbirdProfile, Profile
from mozprofile.permissions import ServerLocations
from mozrunner import FirefoxRunner, ThunderbirdRunner, Runner