JsonRPCError: JsonRPC Error code: -32002, Message: UiSelector[TEXT=Phone]
See original GitHub issuewhen I run this "d2(text=“Phone”).click() " to click the Phone icon in idle. it can launch the dial pad. but after the end of the script ,below exception throw
d2(text="Phone").click()
File “C:\Python27\lib\site-packages\uiautomator-0.1.32-py2.7.egg\uiautomator__init__.py”, line 79, in call return self.func(args, *kwargs) File "C:\Python27\lib\site-packages\uiautomator-0.1.32-py2.7.egg\uiautomator__init.py", line 1090, in click return self.jsonrpc.click(self.selector) File "C:\Python27\lib\site-packages\uiautomator-0.1.32-py2.7.egg\uiautomator__init_.py", line 445, in wrapper return _method_obj(args, *kwargs) File "C:\Python27\lib\site-packages\uiautomator-0.1.32-py2.7.egg\uiautomator__init.py", line 131, in call raise JsonRPCError(jsonresult[“error”][“code”], jsonresult[“error”][“message”]) JsonRPCError: JsonRPC Error code: -32002, Message: UiSelector[TEXT=Phone]
Issue Analytics
- State:
- Created 9 years ago
- Comments:13 (3 by maintainers)
Top GitHub Comments
I met the same problem ( -32002 error)
the button.exists test pass but the click does not
have you managed to answer an incoming call with uiautomator ? it seems to be the problem for me , anything else just works fine thanks for your great job.
Any update on this issue? Facing similar issue with Android O