File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -319,9 +319,9 @@ def socks_version(self, value) -> None:
319319 self .proxyType = ProxyType .MANUAL
320320 self .socksVersion = value
321321
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 } )" )
325325
326326 def add_to_capabilities (self , capabilities ):
327327 """
Original file line number Diff line number Diff line change @@ -132,7 +132,6 @@ def window(self, window_name) -> None:
132132 driver.switch_to.window('main')
133133 """
134134 self ._w3c_window (window_name )
135- return
136135
137136 def _w3c_window (self , window_name ):
138137 def send_handle (h ):
You can’t perform that action at this time.
0 commit comments