Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mark deprecated in shortcuts #671

Open
KazuCocoa opened this issue Dec 24, 2021 · 1 comment
Open

Mark deprecated in shortcuts #671

KazuCocoa opened this issue Dec 24, 2021 · 1 comment

Comments

@KazuCocoa
Copy link
Member

Python client has some interaction short cut such as scroll, but probably it is better to prepare a guide about how to build W3C actions for them rather than preparing such shortcuts as they might have many variations.

For example, UIA2 driver can accept mouse and touch pointers. They might work differently in UIAutomator framework.

@lana-20
Copy link

lana-20 commented Apr 15, 2024

Re "guide about how to build W3C actions":

I've published the following materials:

  • A Python script for the Android UIA2 driver using the W3C Actions API. The code uses ActionBuilder, [interaction] POINTER_TOUCH, and MouseButton from the selenium.webdriver.common.actions library.

  • An article describing theory and practice behind the Actions API.

  • An article describing the native mobile: commands we can pass into driver.execute_script(). The gestures covered are iOS swipe, scroll, pinch, tap, doubleTap, twoFingerTap with the XCUITest driver.

Let me know if any of it can be useful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants