Skip to content

Commit aa8003c

Browse files
committed
Fixed UiObject2.clickAndWait
1 parent 6726f59 commit aa8003c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/com/dtmilano/android/uiautomator/uiautomatorhelper.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
@author: Diego Torres Milano
1919
'''
2020

21-
__version__ = '12.1.0'
21+
__version__ = '12.1.1'
2222

2323
import os
2424
import subprocess
@@ -296,7 +296,7 @@ def setText(self, uiObject, text):
296296
#
297297
def clickAndWait(self, uiObject2, eventCondition, timeout):
298298
params = {'eventCondition': eventCondition, 'timeout': timeout}
299-
return self.__httpCommand('/UiObject2/0x%x/clickAndWait' % (uiObject2.oid), params)
299+
return self.__httpCommand('/UiObject2/%d/clickAndWait' % (uiObject2.oid), params)
300300

301301

302302
#

0 commit comments

Comments
 (0)