We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
ValueError
1 parent 0a17d01 commit 13e5f88Copy full SHA for 13e5f88
py/selenium/webdriver/common/proxy.py
@@ -283,7 +283,7 @@ def proxy_type(self, value) -> None:
283
284
def _verify_proxy_type_compatibility(self, compatible_proxy):
285
if self.proxyType not in (ProxyType.UNSPECIFIED, compatible_proxy):
286
- raise Exception(
+ raise ValueError(
287
f"Specified proxy type ({compatible_proxy}) not compatible with current setting ({self.proxyType})"
288
)
289
0 commit comments