2323)
2424from selenium .webdriver .common .by import By
2525from selenium .webdriver .remote .command import Command as RemoteCommand
26- from selenium .webdriver .remote .file_detector import FileDetector
2726from selenium .webdriver .remote .remote_connection import RemoteConnection
2827from typing_extensions import Self
2928
@@ -179,7 +178,7 @@ def _get_remote_connection_and_client_config(
179178 command_executor : Union [str , AppiumConnection ], client_config : Optional [AppiumClientConfig ]
180179) -> tuple [AppiumConnection , Optional [AppiumClientConfig ]]:
181180 """Return the pair of command executor and client config.
182- If the given command executor is a custome one, returned client config will
181+ If the given command executor is a custom one, returned client config will
183182 be None since the custom command executor has its own client config already.
184183 The custom command executor's one will be prior than the given client config.
185184 """
@@ -228,7 +227,6 @@ def __init__(
228227 self ,
229228 command_executor : Union [str , AppiumConnection ] = 'http://127.0.0.1:4723' ,
230229 extensions : Optional [List ['WebDriver' ]] = None ,
231- file_detector : Optional [FileDetector ] = None ,
232230 options : Union [AppiumOptions , List [AppiumOptions ], None ] = None ,
233231 client_config : Optional [AppiumClientConfig ] = None ,
234232 ):
@@ -237,7 +235,6 @@ def __init__(
237235 )
238236 super ().__init__ (
239237 command_executor = command_executor ,
240- file_detector = file_detector ,
241238 options = options ,
242239 locator_converter = AppiumLocatorConverter (),
243240 web_element_cls = MobileWebElement ,
0 commit comments