You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to connect to a bluetooth device, there are 2 devices with similar name. The names are abc123 and deabc123. I would like to connect with abc123, so I would like to give textMatches to abc123, if I do so I get the bellow error
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\Desktop\handset\uiautomator_init_.py", line 80, in call
return self.func(*args, **kwargs)
File "C:\Users\Desktop\handset\uiautomator_init_.py", line 883, in click
return self.jsonrpc.click(self.selector)
File "C:\Users\Desktop\handset\uiautomator_init.py", line 355, in wrapper
return method_obj(*args, **kwargs)
File "C:\Users\Desktop\handset\uiautomator_init.py", line 140, in call
"%s: %s" % (jsonresult["error"]["data"], jsonresult["error"]["message"]) uiautomator.JsonRPCError: JsonRPC Error code: -32002, Message: {'exceptionTypeName': 'android.support.test.uiautomator.UiObjectNotFoundException', 'message': 'UiSelector[CLASS=android.widget.TextView, TEXT_REGEX=abc123, RESOURCE_ID=android:id/title]'}: UiSelector[CLASS=android.widget.TextView, TEXT_REGEX=abc123, RESOURCE_ID=android:id/title]
and if I use textContains it matches with the device which appears first on the page, so sometimes with abc123 and other times with deabc123
ancan-netizen
changed the title
I can see '/u200e' being added to the beginning and the end of the text I am looking for using textMatches .
I can see '\u200e' being added to the beginning and the end of the text I am looking for using textMatches .
Nov 3, 2020
No description provided.
The text was updated successfully, but these errors were encountered: