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

Programmatically determine coordinates of Install button #2

Open
conorgil opened this issue Jan 6, 2022 · 0 comments
Open

Programmatically determine coordinates of Install button #2

conorgil opened this issue Jan 6, 2022 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@conorgil
Copy link
Member

conorgil commented Jan 6, 2022

Currently, the coordinates for the install button are hard coded. It would be great to programmatically determine the location of the install button so that it works every time.

Ideas

There is a tool installed on Android called uiautomator. It is possible to get an XML file that describes each element of the page. That output could be used to look up the coordinates of the install button.

@conorgil conorgil added enhancement New feature or request help wanted Extra attention is needed labels Jan 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant