Skip to content

Commit

Permalink
remove duplicated args
Browse files Browse the repository at this point in the history
  • Loading branch information
KazuCocoa committed Dec 4, 2024
1 parent 09e0c59 commit dd19cff
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions appium/webdriver/client_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,12 @@


class AppiumClientConfig(ClientConfig):
"""ClientConfig class for Appium Python client."""

def __init__(self, remote_server_addr: str, *args, **kwargs):
"""
TODO: add description
"""
self._direct_connection = kwargs.pop('direct_connection', False)
super().__init__(remote_server_addr, *args, **kwargs)

Expand Down
2 changes: 1 addition & 1 deletion appium/webdriver/webdriver.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ class WebDriver(
):
def __init__( # noqa: PLR0913
self,
command_executor: Union[str, AppiumConnection] = 'http://127.0.0.1:4723',
command_executor: Union[str, AppiumConnection] = 'http://127.0.0.1:4444',
extensions: Optional[List['WebDriver']] = None,
options: Union[AppiumOptions, List[AppiumOptions], None] = None,
client_config: Optional[AppiumClientConfig] = None,
Expand Down

0 comments on commit dd19cff

Please sign in to comment.