+3
-4
lines changedFilter options
+3
-4
lines changed Original file line number Diff line number Diff line change
@@ -319,9 +319,9 @@ def socks_version(self, value) -> None:
319
319
self.proxyType = ProxyType.MANUAL
320
320
self.socksVersion = value
321
321
322
-
def _verify_proxy_type_compatibility(self, compatibleProxy):
323
-
if self.proxyType != ProxyType.UNSPECIFIED and self.proxyType != compatibleProxy:
324
-
raise Exception(f"Specified proxy type ({compatibleProxy}) not compatible with current setting ({self.proxyType})")
322
+
def _verify_proxy_type_compatibility(self, compatible_proxy):
323
+
if self.proxyType != ProxyType.UNSPECIFIED and self.proxyType != compatible_proxy:
324
+
raise Exception(f"Specified proxy type ({compatible_proxy}) not compatible with current setting ({self.proxyType})")
325
325
326
326
def add_to_capabilities(self, capabilities):
327
327
"""
Original file line number Diff line number Diff line change
@@ -132,7 +132,6 @@ def window(self, window_name) -> None:
132
132
driver.switch_to.window('main')
133
133
"""
134
134
self._w3c_window(window_name)
135
-
return
136
135
137
136
def _w3c_window(self, window_name):
138
137
def send_handle(h):
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4