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 Request] Add in ways to utilize the non-device-bounded version of getAbsolutePosition #434

Open
Kertic opened this issue Jul 15, 2021 · 2 comments

Comments

@Kertic
Copy link

Kertic commented Jul 15, 2021

https://github.com/appium/appium-uiautomator2-server/blob/master/app/src/main/java/io/appium/uiautomator2/utils/PositionHelper.java

In this file, there is an option to check for the device bounds. However, there is no actual utilization of that ability. I'm requesting a method that would allow us to test tapping outside of perceived bounds of the device for exploration of edge (literally) cases such as tapping elements under decorations.

This would also function as a workaround for appium/appium#8724

@jlipps
Copy link
Member

jlipps commented Jul 15, 2021

Why don't we make this sensitive to a setting/capability?

@mykola-mokhnach
Copy link
Contributor

I assume W3C don't have this check. Nevertheless, there maybe was a reason to put it there. Have you tried if touch actions actually succeed if performed outside of UiDevice boundaries?

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

3 participants