We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
<node NAF="true" index="0" text="" resource-id="" class="android.widget.EditText" package="com.example.status" content-desc="" checkable="false" checked="false" clickable="true" enabled="true" focusable="true" focused="false" scrollable="false" long-clickable="false" password="false" selected="false" bounds="[187,794][893,902]" /></node>
This is an EditText , I would like to enter a value into this edittext would it be possible to do this without resource-id or text ?
The text was updated successfully, but these errors were encountered:
Do you have the bounds?
bounds="[187,794][893,902]"
Sorry, something went wrong.
Do you have the bounds? bounds="[187,794][893,902]"
Right , can you please share an example usage using bounds ?
If you know the bounds, you can enter text by touching the view to get focus and type
#! /usr/bin/env python3 from com.dtmilano.android.viewclient import ViewClient device, serialno = ViewClient.connectToDeviceOrExit() bounds = ((137, 743), (933, 897)) # you know the bounds (l, t), (r, b) = bounds x = l + (r - l) / 2 y = t + (b - t) / 2 device.touch(x, y) device.type("Hello World!")
No branches or pull requests
<node NAF="true" index="0" text="" resource-id="" class="android.widget.EditText" package="com.example.status" content-desc="" checkable="false" checked="false" clickable="true" enabled="true" focusable="true" focused="false" scrollable="false" long-clickable="false" password="false" selected="false" bounds="[187,794][893,902]" /></node>
This is an EditText , I would like to enter a value into this edittext would it be possible to do this without resource-id or text ?
The text was updated successfully, but these errors were encountered: