From ad69f9c86b950cc84ca103e65824b9c9129d3999 Mon Sep 17 00:00:00 2001 From: Wojtek Kosior Date: Mon, 31 Jan 2022 18:06:13 +0100 Subject: 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. --- test/profiles.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/profiles.py') 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): """ -- cgit v1.2.3