From aaac50112254d3b798055be5bed1b394b1c86bf6 Mon Sep 17 00:00:00 2001 From: Kazuaki Matsuo Date: Sun, 24 Dec 2023 15:00:25 -0800 Subject: [PATCH] docs: update links --- README.md | 7 +++++-- appium/webdriver/common/multi_action.py | 2 +- appium/webdriver/common/touch_action.py | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index dacad839..3424cee3 100644 --- a/README.md +++ b/README.md @@ -82,10 +82,10 @@ For example, some changes in the Selenium binding could break the Appium client. - Please check each behavior. Their behaviors could slightly differ. - Added `strict_ssl` to relax SSL errors such as self-signed ones - Deprecated - - `MultiAction` and `TouchAction` are deprecated. Please use W3C WebDriver actions. + - `MultiAction` and `TouchAction` are deprecated. Please use W3C WebDriver actions or `mobile:` extensions - e.g. - [appium/webdriver/extensions/action_helpers.py](appium/webdriver/extensions/action_helpers.py) - - https://www.selenium.dev/documentation/support_packages/mouse_and_keyboard_actions_in_detail/ + - https://www.selenium.dev/documentation/webdriver/actions_api/ - https://www.youtube.com/watch?v=oAJ7jwMNFVU - https://appiumpro.com/editions/30-ios-specific-touch-action-methods - https://appiumpro.com/editions/29-automating-complex-gestures-with-the-w3c-actions-api @@ -111,6 +111,9 @@ actions.w3c_actions.pointer_action.release() actions.perform() ``` +- [appium/webdriver/extensions/action_helpers.py](appium/webdriver/extensions/action_helpers.py) +- https://www.selenium.dev/documentation/webdriver/actions_api/ + ## Usage The Appium Python Client is fully compliant with the WebDriver Protocol diff --git a/appium/webdriver/common/multi_action.py b/appium/webdriver/common/multi_action.py index 6800546b..918b8938 100644 --- a/appium/webdriver/common/multi_action.py +++ b/appium/webdriver/common/multi_action.py @@ -33,7 +33,7 @@ class MultiAction: """ deprecated:: 2.0.0 - Please use W3C actions instead: http://appium.io/docs/en/commands/interactions/actions/ + Please use W3C actions instead: https://github.com/appium/python-client?tab=readme-ov-file#multiactiontouchaction-to-w3c-actions """ def __init__(self, driver: 'WebDriver', element: Optional['WebElement'] = None) -> None: diff --git a/appium/webdriver/common/touch_action.py b/appium/webdriver/common/touch_action.py index aedda606..c81190b0 100644 --- a/appium/webdriver/common/touch_action.py +++ b/appium/webdriver/common/touch_action.py @@ -37,7 +37,7 @@ class TouchAction: """ deprecated:: 2.0.0 - Please use W3C actions instead: http://appium.io/docs/en/commands/interactions/actions/ + Please use W3C actions instead: https://github.com/appium/python-client?tab=readme-ov-file#multiactiontouchaction-to-w3c-actions """ def __init__(self, driver: Optional['WebDriver'] = None):