diff options
author | Wojtek Kosior <koszko@koszko.org> | 2022-01-31 18:06:13 +0100 |
---|---|---|
committer | Wojtek Kosior <koszko@koszko.org> | 2022-01-31 18:06:13 +0100 |
commit | ad69f9c86b950cc84ca103e65824b9c9129d3999 (patch) | |
tree | a4314c8a5031b9fb2a278021b2388b86190c2823 /test/profiles.py | |
parent | 4c6a2323d90e9321ec2b78e226167b3013ea69ab (diff) | |
download | browser-extension-ad69f9c86b950cc84ca103e65824b9c9129d3999.tar.gz browser-extension-ad69f9c86b950cc84ca103e65824b9c9129d3999.zip |
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.
Diffstat (limited to 'test/profiles.py')
-rwxr-xr-x | test/profiles.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/profiles.py b/test/profiles.py index 4892894..ae997fc 100755 --- a/test/profiles.py +++ b/test/profiles.py @@ -80,7 +80,7 @@ def set_webextension_uuid(profile, extension_id, uuid=default_extension_uuid): profile.set_preference('extensions.webextensions.uuids', json.dumps({extension_id: uuid})) -def firefox_safe_mode(firefox_binary=default_firefox_binary, +def firefox_safe_mode(firefox_binary=conf_settings['BROWSER_BINARY'], proxy_host=default_proxy_host, proxy_port=default_proxy_port): """ @@ -97,8 +97,8 @@ def firefox_safe_mode(firefox_binary=default_firefox_binary, return HaketiloFirefox(options=options, firefox_profile=profile, firefox_binary=firefox_binary) -def firefox_with_profile(firefox_binary=default_firefox_binary, - profile_dir=default_clean_profile_dir, +def firefox_with_profile(firefox_binary=conf_settings['BROWSER_BINARY'], + profile_dir=conf_settings['CLEAN_PROFILE'], proxy_host=default_proxy_host, proxy_port=default_proxy_port): """ |