Skip to content

Commit 5bf6cc6

Browse files
KazuCocoaCopilot
andauthored
Apply suggestions from code review
Co-authored-by: Copilot <[email protected]>
1 parent 299f283 commit 5bf6cc6

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ For example, some changes in the Selenium binding could break the Appium client.
6060

6161

6262
### Quick migration guide from v4 to v5
63-
- Please use `AppiumClientConfig` as `client_config` arguemnt in favor of client argument below
63+
- Please use `AppiumClientConfig` as `client_config` argument in favor of client argument below
6464
- `keep_alive`, `direct_connection` and `strict_ssl` arguments.
6565
```python
6666
SERVER_URL_BASE = 'http://127.0.0.1:4723'

appium/webdriver/webdriver.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ def _get_remote_connection_and_client_config(
178178
command_executor: Union[str, AppiumConnection], client_config: Optional[AppiumClientConfig]
179179
) -> tuple[AppiumConnection, Optional[AppiumClientConfig]]:
180180
"""Return the pair of command executor and client config.
181-
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
182182
be None since the custom command executor has its own client config already.
183183
The custom command executor's one will be prior than the given client config.
184184
"""

test/unit/webdriver/webdriver_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ def test_get_client_config_and_connection_custom_appium_connection(self):
451451
)
452452

453453
assert isinstance(command_executor, AppiumConnection)
454-
# client config already defined in the command_executor will be userd.
454+
# client config already defined in the command_executor will be used.
455455
assert command_executor._client_config != client_config
456456
assert client_config is None
457457

0 commit comments

Comments
 (0)