Comments (4)
Percentage of the View?
from androidviewclient.
Yes, percentage of the view's coordinates. For example, if the view is width=200, height=20, then px=50, py=50 would mean x = 100, y = 10. And that would be the point at which the touch occurs.
Of course, those coordinates are offsetted with the coordinates of the topleft corner of the view.
from androidviewclient.
What would be the use case?
In most of the cases it doesn't matter where you touch as long as you touch inside the View.
from androidviewclient.
Automatic blackbox testing. Would help in having a chance to touch inside android.webkit.Webview, whose subviews are not currently dumped. Or android.view.View, which generally does not have any subviews, instead 'controls' are drawn on it in a 'GDI'-fashion.
That modification will increase chances of getting past those two main problems. This way, I could randomly click on those view classes.
from androidviewclient.
Related Issues (20)
- Cannot install android-select-device HOT 1
- Find Password flag state in vc.dump() data HOT 1
- [Errno 8] nodename nor servname provided, or not known. HOT 4
- Multi-swipe HOT 2
- startActivity() doesn't work HOT 3
- How to deal with file dialog HOT 1
- Help me with incomplete escape \U at position 2 HOT 14
- please Help me with touch not response HOT 3
- How to get pop-up messages in app HOT 4
- can not use the examples browser-open-url.py HOT 2
- takeSnapshot fails after first time HOT 4
- Can't find or read elements with Unity game HOT 7
- Exception: adb="adb.exe" is not executable. HOT 1
- ValueError: received does not contain valid XML: Killed HOT 7
- Take SnapShot with TimeOutException HOT 15
- 22.3.0 does not support Python 3.7.7 HOT 2
- error using helper HOT 1
- CulebraTester2 backend: error when using findViewWithAttributeThatMatches HOT 4
- ViewClient crash due to __parseTreeFromUiAutomatorDump ? HOT 4
- Example of using Pinch HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from androidviewclient.