Project

General

Profile

« Previous | Next » 

Revision ad69f9c8

Added by koszko over 1 year ago

add support for testing with other browsers (especially Abrowser and Librewolf)

There are still some spurious failures when running under those newer browsers. Those will be systematically investigated and fixed.

View differences:

test/profiles.py
80 80
    profile.set_preference('extensions.webextensions.uuids',
81 81
                           json.dumps({extension_id: uuid}))
82 82

  
83
def firefox_safe_mode(firefox_binary=default_firefox_binary,
83
def firefox_safe_mode(firefox_binary=conf_settings['BROWSER_BINARY'],
84 84
                      proxy_host=default_proxy_host,
85 85
                      proxy_port=default_proxy_port):
86 86
    """
......
97 97
    return HaketiloFirefox(options=options, firefox_profile=profile,
98 98
                           firefox_binary=firefox_binary)
99 99

  
100
def firefox_with_profile(firefox_binary=default_firefox_binary,
101
                         profile_dir=default_clean_profile_dir,
100
def firefox_with_profile(firefox_binary=conf_settings['BROWSER_BINARY'],
101
                         profile_dir=conf_settings['CLEAN_PROFILE'],
102 102
                         proxy_host=default_proxy_host,
103 103
                         proxy_port=default_proxy_port):
104 104
    """

Also available in: Unified diff