@@ -42,7 +42,7 @@ class TestUnit:
4242 def test_ctor (self ):
4343 opts = Options ()
4444 assert opts .binary_location == ""
45- assert opts ._preferences == {"remote.active-protocols" : 3 }
45+ assert opts ._preferences == {"remote.active-protocols" : 1 }
4646 assert opts ._profile is None
4747 assert not opts ._arguments
4848 assert isinstance (opts .log , Log )
@@ -72,7 +72,7 @@ def test_prefs(self):
7272 assert len (opts .preferences ) == 3
7373 opts .set_preference ("spam" , "spam" )
7474 assert len (opts .preferences ) == 3
75- assert opts .preferences == {"eggs" : True , "remote.active-protocols" : 3 , "spam" : "spam" }
75+ assert opts .preferences == {"eggs" : True , "remote.active-protocols" : 1 , "spam" : "spam" }
7676
7777 def test_profile (self , tmpdir_factory ):
7878 opts = Options ()
@@ -102,7 +102,7 @@ def test_to_capabilities(self):
102102 firefox_caps .update (
103103 {
104104 "pageLoadStrategy" : PageLoadStrategy .normal ,
105- "moz:firefoxOptions" : {"prefs" : {"remote.active-protocols" : 3 }},
105+ "moz:firefoxOptions" : {"prefs" : {"remote.active-protocols" : 1 }},
106106 }
107107 )
108108 assert opts .to_capabilities () == firefox_caps
0 commit comments