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

[🚀 Feature]: Implement Touch specific functionality in actions #10808

Open
titusfortner opened this issue Jun 24, 2022 · 7 comments
Open

[🚀 Feature]: Implement Touch specific functionality in actions #10808

titusfortner opened this issue Jun 24, 2022 · 7 comments
Labels
help wanted Issues looking for contributions I-enhancement

Comments

@titusfortner
Copy link
Member

titusfortner commented Jun 24, 2022

Feature and motivation

With the move to w3c, the previous Touch Actions API was made obsolete.

For single finger interactions, a user can set the pointer input "type" to be a "finger" similar to how this example shows it being set as a "pen": https://www.selenium.dev/documentation/webdriver/actions_api/pen/#using-a-pen

And then do all the things that any pointer input can do: https://www.selenium.dev/documentation/webdriver/actions_api/mouse/

What the existing implementations do not make easy is multiple inputs (fingers) acting simultaneously.

We should consider creating an API or options for things like "pinch," "zoom," and "scroll".

Whatever this API is, it should match what an Appium user does or would expect to do in native application contexts.

Usage example

new Actions(driver)
        .zoom(locus, startRadius, endRadius, pinchAngle, duration)
        .perform();
@github-actions
Copy link

@titusfortner, thank you for creating this issue. We will troubleshoot it as soon as we can.


Info for maintainers

Triage this issue by using labels.

If information is missing, add a helpful comment and then I-issue-template label.

If the issue is a question, add the I-question label.

If the issue is valid but there is no time to troubleshoot it, consider adding the help wanted label.

If the issue requires changes or fixes from an external project (e.g., ChromeDriver, GeckoDriver, MSEdgeDriver, W3C), add the applicable G-* label, and it will provide the correct link and auto-close the issue.

After troubleshooting the issue, please add the R-awaiting answer label.

Thank you!

@github-actions
Copy link

github-actions bot commented Apr 5, 2023

This issue is stale because it has been open 280 days with no activity. Remove stale label or comment or this will be closed in 14 days.

@github-actions github-actions bot added the I-stale Applied to issues that become stale, and eventually closed. label Apr 5, 2023
@titusfortner titusfortner removed the I-stale Applied to issues that become stale, and eventually closed. label Apr 6, 2023
@titusfortner
Copy link
Member Author

It might warrant a separate Issue, but it probably won't be a sticking point until/unless we implement the touch API in Java; but managing multiple action sequences in Java when you can't use Actions class is clunky, and we may need to find a better way to do this. (see point 4 - #10724)

@titusfortner titusfortner added the help wanted Issues looking for contributions label Dec 29, 2023
Copy link

This issue is looking for contributors.

Please comment below or reach out to us through our IRC/Slack/Matrix channels if you are interested.

Copy link

github-actions bot commented Oct 4, 2024

This issue is stale because it has been open 280 days with no activity. Remove stale label or comment or this will be closed in 14 days.

@github-actions github-actions bot added the I-stale Applied to issues that become stale, and eventually closed. label Oct 4, 2024
Copy link

This issue was closed because it has been stalled for 14 days with no activity.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Oct 19, 2024
@nvborisenko
Copy link
Member

I think it is still actual.

@nvborisenko nvborisenko reopened this Oct 19, 2024
@github-actions github-actions bot removed the I-stale Applied to issues that become stale, and eventually closed. label Oct 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Issues looking for contributions I-enhancement
Projects
None yet
Development

No branches or pull requests

2 participants