We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a6e28b commit 0f407b7Copy full SHA for 0f407b7
py/test/selenium/webdriver/common/proxy_tests.py
@@ -87,6 +87,13 @@ def testCanNotChangeInitializedProxyType(self):
87
raise Exception("Change of already initialized proxy type should raise exception")
88
except Exception as e:
89
pass
90
+
91
+ proxy = Proxy(raw={'proxyType': ProxyType.DIRECT})
92
+ try:
93
+ proxy.proxy_type = ProxyType.SYSTEM
94
+ raise Exception("Change of already initialized proxy type should raise exception")
95
+ except Exception as e:
96
+ pass
97
98
def testCanInitManualProxy(self):
99
proxy = Proxy(raw=self.MANUAL_PROXY)
0 commit comments