AndroidViewClient
AndroidViewClient copied to clipboard
Android ViewServer and ADB client
Hey first that all, thanks for the amazing tool. I'm trying to automate a few things with a game (Age of Z) and I can with sleeps and position clicks....
``` E ====================================================================== ERROR: testSomething (__main__.CulebraTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "C:\Users\emosc\PycharmProjects\pythonProject\main.py", line 49, in setUp super(CulebraTests, self).setUp() File "C:\Users\emosc\PycharmProjects\pythonProject\venv\lib\site-packages\com\dtmilano\android\viewclient.py", line 4914, in setUp self.vc = ViewClient("UI_AUTOMATOR_HELPER_DEVICE", "UI_AUTOMATOR_HELPER_SERIALNO",...
Hi, I am unable find API in AVC to do long press on screen. I have device running API 17. I read adbclient.py code and for API > > from...
My script uses `AndroidViewClient` but cannot create a `ViewClient` ```python3 from com.dtmilano.android.viewclient import ViewClient def createViewClient(): return ViewClient(*ViewClient.connectToDeviceOrExit(serialno='.*')) vc = createViewClient() ``` The script returns the following stack trace: ```sh...
I find that ViewClient can connect to multi phones by distinguishing different serialno on local PC, is there any way to connect to a phone in a remote PC(share USB...
As it's not available as a pre-built package for the Raspberry Pi, this makes installing a pain.
How do I push a file to the emulator? In other words how do I run `adb push myfile.txt /sdcard`?
Is it possible to search child views inside another view (UiObject or UiObject2) using python API? Something like these two java functions of UiAutomator java API: - [UiObject2#findObject(bySelector)](https://developer.android.com/reference/android/support/test/uiautomator/UiObject2#findObject(android.support.test.uiautomator.BySelector)) - [UiObject#getChild(uiSelector)](https://developer.android.com/reference/android/support/test/uiautomator/UiObject.html#getChild(android.support.test.uiautomator.UiSelector))...
Children of android.webkit.WebView are not enumerated. Is there a way I can click through a web page/browser interface in order to achieve the same goals as for the 'normal' UI?...
Hi, Thanks for creating this tool, appreciate your hard work and contribution. I would like to enter the entire word into a text box (in this case a search box)...