Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,9 @@ For example, some changes in the Selenium binding could break the Appium client.
- Please check the [Usage](#usage) below as an example.
- Not a "new" change, but the `desired_capabilities` argument has been removed since v3.
- Replacement
- `start_activity` method: Please use [`mobile: startActivity`](https://github.com/appium/appium-uiautomator2-driver?tab=readme-ov-file#mobile-startactivity)
- `start_activity` method: Please use [`mobile: startActivity`](https://appium.github.io/appium-uiautomator2-driver/latest/reference/execute-methods/#mobile-startactivity)
- `launch_app`, `close_app` and `reset` methods: Please refer to https://github.com/appium/appium/issues/15807
- `available_ime_engines`, `is_ime_active`, `activate_ime_engine`, `deactivate_ime_engine` and `active_ime_engine` methods: Please use [`mobile: shell`](https://github.com/appium/appium-uiautomator2-driver?tab=readme-ov-file#mobile-shell)
- `available_ime_engines`, `is_ime_active`, `activate_ime_engine`, `deactivate_ime_engine` and `active_ime_engine` methods: Please use [`mobile: shell`](https://appium.github.io/appium-uiautomator2-driver/latest/reference/execute-methods/#mobile-shell)
- `set_value` and `set_text` methods: Please use `element.send_keys` or `send_keys` by W3C Actions
- Removal
- `end_test_coverage` method is no longer available
Expand Down
2 changes: 1 addition & 1 deletion appium/options/android/espresso/activity_options_option.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def activity_options(self, value: dict) -> None:
"""
The mapping of custom options for the main app activity that is going to
be started. Check
https://github.com/appium/appium-espresso-driver#activity-options
https://appium.github.io/appium-espresso-driver/latest/reference/capabilities/#activityoptions
for more details.
"""
self.set_capability(ACTIVITY_OPTIONS, value)
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def espresso_build_config(self, value: dict[str, Any] | str) -> None:
"""
This config allows to customize several important properties of
Espresso server. Refer to
https://github.com/appium/appium-espresso-driver#espresso-build-config
https://appium.github.io/appium-espresso-driver/latest/reference/capabilities/#espressobuildconfig
for more information on how to properly construct such config.
"""
self.set_capability(ESPRESSO_BUILD_CONFIG, value if isinstance(value, str) else json.dumps(value, ensure_ascii=False))
2 changes: 1 addition & 1 deletion appium/options/android/espresso/intent_options_option.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def intent_options(self, value: dict[str, Any]) -> None:
"""
The mapping of custom options for the intent that is going to be passed
to the main app activity. Check
https://github.com/appium/appium-espresso-driver#intent-options
https://appium.github.io/appium-espresso-driver/latest/reference/capabilities/#intentoptions
for more details.
"""
self.set_capability(INTENT_OPTIONS, value)
4 changes: 2 additions & 2 deletions appium/options/mac/mac2/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def prerun(self, value: dict[str, str]) -> None:
A mapping containing either 'script' or 'command' key. The value of
each key must be a valid AppleScript script or command to be
executed after before Mac2Driver session is started. See
https://github.com/appium/appium-mac2-driver#applescript-commands-execution
https://appium.github.io/appium-mac2-driver/latest/reference/capabilities/#prerun
for more details.
"""
PrerunOption.prerun.fset(self, value) # type: ignore
Expand All @@ -67,7 +67,7 @@ def postrun(self, value: dict[str, str]) -> None:
A mapping containing either 'script' or 'command' key. The value of
each key must be a valid AppleScript script or command to be
executed after Mac2Driver session is stopped. See
https://github.com/appium/appium-mac2-driver#applescript-commands-execution
https://appium.github.io/appium-mac2-driver/latest/reference/capabilities/#postrun
for more details.
"""
PostrunOption.postrun.fset(self, value) # type: ignore
Expand Down
Loading