Skip to content

Commit

Permalink
docs: update links (#944)
Browse files Browse the repository at this point in the history
  • Loading branch information
KazuCocoa authored Dec 25, 2023
1 parent 40ac012 commit 39a89c8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion appium/webdriver/common/multi_action.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion appium/webdriver/common/touch_action.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 39a89c8

Please sign in to comment.