forked from openatx/uiautomator2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CHANGELOG
711 lines (602 loc) · 17.5 KB
/
CHANGELOG
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
CHANGES
=======
* add uiautomator2 version in command line
* add session test
2.4.3
-----
* add fallback and session add some missing method
* fix github workflow
* fix flake8 warning
* test github actions
* change callback to fallback
* add d.xpath(xxxxx).callback(click, px, py).click() support
* add back token again
* check if travis notification is working
* add d.xpath.position方法
2.4.2
-----
* change am instrument logic again
* rewrite jsonrpc\_retry\_call logic
* make recover uiautomator logic more simple
2.4.1
-----
* add taobao plugin for internal network
* add long\_click to d.xpath
2.4.0
-----
* change logic of start uiautomator, upgrade apk version
* fix bug, reported by h.t
* am start apk twice to make sure, uiautomator can be recovered
2.3.4
-----
* show lib version when init for easily debug
* support config service recover behavior
2.3.3
-----
* fix d.serial return None bug, fix tests on large screen
* update doc, add quick-reference.md
* add quick ref guide
2.3.2
-----
* fix init command not resolve signature mismatch bug, fix uninstall can not uninstall apk bug
2.3.1
-----
* add xpath\_debug to settings, fix xpath %xx and xx%
* update watcher doc
2.3.0
-----
* add d.watcher method to handle popups
* add settings code
* add basic settings.py
* Update README.md
* hotfix for windows
* remove timeout for function: pull
2.2.0
-----
* add cmd\_purge, add set\_new\_command\_timeout api
2.1.0
-----
* add image.py, change uiautomator from v1 to v2
* add uauto
* typo (#476)
* fix missing \_parent error, close #477
* hot fix for #475
* fix spell error
* fix logo not show error in readme
* add hogwarts sponsor
* add wait to image.py
* fix xpath start-with and ends-with, add image click
2.0.0
-----
* remove toast from readme
* add app list api
* support multi xpath(xx).xpath(xx), and add .info in xpath
* add clipboard doc
* change to uiautomator 1.0
* Fixes #451
* add clipboard support
* Update README.md
* fix d.xpath.when(..).when(..), thread-safe reset-uiautomator
1.3.6
-----
* use monkey command to install apk on TMQ platform
* fix d.xpath.watcher, fix d.shell can not handle & and ? bug
1.3.5
-----
* add xpath.apply\_watch\_from\_yaml, support xpath.when(1).when(2)
* fix homepage link
* fix atx-agent version compare check
1.3.4
-----
* remove useless cli
* use jsonrpc.dumpWindowsHierarchy instead of http GET /dump/hierarchy
* assert file\_size when cache\_download
1.3.3
-----
* fix uiautomator start error
1.3.2
-----
* update atx-agent to fix UIAutomation not connected error
* upgrade apk version
* enhance reset\_uiautomator()
1.3.1
-----
* fix adbutils dep version
1.3.0
-----
* fix check atx-agent
* fix last commit
* add function to check atx-agent version
* update atx-agent version
* update dingtalk webhook again
* update dingtalk webhook
1.2.6
-----
* fix when uiautomator not alive, func connect can not auto init error
1.2.5
-----
* update dingtalk robot webhook url
* set init as default, set default screenshot name when use cli:uiautomator2 screenshot
* rename current\_app to app\_current
* add webview for future develop
1.2.4
-----
* fix app\_start without activity not launch error
* add adcd.py(abstract class about device) and implement pure adb to run test
* implement pure adb to run test
* use Baidu OCR to select element (#419)
1.2.3
-----
* update androidbinary to fix momo can not start error #393
* add support u2.connect\_usb(serial, init=False)
* change function behavior d.touch.up() to d.touch.up(x, y)
1.2.2
-----
* fix app\_list\_running() only show 3rd party apps bug, add support to read from env-var ANDROID\_SERIAL
1.2.1
-----
* fix and add doc for app\_start #425, add uiautomator check in dump\_hierarchy
* add thread lock in dump\_hierarchy
* fix session restart
* Update README.md
* add notification about dingtalk travis
1.2.0
-----
* add wait gone
* add strict argument to session()
* rename UIAutomatorServer to Device, add session.restart() method
* change http://tool.appetizer.io to https protocol
* add swipe\_ext('right', 0.9) method
* add app\_wait, app\_list\_running
1.1.0
-----
* add swipe and screenshot to d.xpath element
* fix init with serial
* update changelog, remove d.watchers.watched, use IPython.embed first in cmd:uiautomator2 console
* add console in command line
* fix shell(stream=True) timeout error, close #394
1.0.3
-----
* fix android Q support again
1.0.2
-----
* replace google-fire with argparse, add current, stop, start subcommand in command line
* remove useless u2cli
1.0.1
-----
* fix init unknown host service, close #373
* add develop.md
1.0.0
-----
* upgrade atx-agent version, and android-uiautomator-version, update doc
* fix swipe\_points usage in readme
* init add mirror of appetizer
* fix str decode error
* fix debug mode decode error
0.3.3
-----
* add watch\_clear and address
* add xpath.watch\_stop()
0.3.2
-----
* fix debug curl print
* fix shell calls in connect
0.3.1
-----
* fix #370
* test with 3.5
0.3.0
-----
* fix fix
* fix travis again
* fix travis
* update readme
* add missing dep:adbutils
* update xpath doc, add set\_text to xpath
* remove uiautomator2/adbutils.py, use thirdparty adbutils
* add quickstart, fix healthcheck for OnePlus
* fix screenshot method
* say goodbye to python2 and welcome python3
* Update ISSUE\_TEMPLATE.md
* use /dump/hierarchy to instead of call:dumpHierarchy
* update atx-agent version
0.2.3
-----
* xpath element support click
* add http\_timeout for shell function, resolve #353
* add xpath quicksheet
* resolve #348
* remove code which leads to minicap install error
* add get method of xpath
* add xpath::get\_text(), close #337
* add connect\_adb\_wifi function
* add probot link
* auto stale issue when tagged as invalid
* serial support none
* 修复多台设备时,list-forward失败 (#327)
* \`python -m uiautomator2 init\`初始化403报错,增加header atx\_agent\_url中报错变量错误修复
0.2.2
-----
* update atx-agent version
* typo (#318)
* fix connect\_usb error
0.2.1
-----
* fix #317, fix #316
0.2.0
-----
* merge change
* remove pure-python-adb dependency, use adbutils.py instead
* format \_\_init\_\_.py, update adbutils with ADB Protocol
* update changelog
* part of job
0.1.11
------
* limit pure-python-adb version, to fix from adb.client import error
* support args
0.1.10
------
* remove cmd:init from fire.Fire, fix forward error when muti device connect to one machine
* upgrade atx-agent
* ext\_xpath support
* remove 3.7
* fix travis test again
* fix travis
* sort imports
* split code to different files
* Update README.md
* Update README.md
* remove debug with dict: which will lead misunderstanding
* update atx-agent version
* appveyor
* exedir detection everywhere
* fix
* come at me
* need android components nowadays
* travis 2018 switches from android-21 to android-22
* fix pip install requirements
* fix travis lang
* add emulator and tests to travis and update README
* fix typo. (#278)
0.1.9
-----
* fix connect\_usb init error, close #276
* fix typo
* add set\_fail\_prompt function
* add d.touch.(down|move|up) in readme
* fix atxagent version code
0.1.8
-----
* update atx-agent add api app\_info, and app\_icon
* update atx-agent version to 0.5.1, fix session timeout error
* update atx-agent version and netease music example
* add wait\_activity
* raise IndexError when UiObject returned by child\_by\_xxx, close #261
* fix xpath py2 py3 compatibale
* fix xpath ext resource-id error
* Update README.md (#260)
* update weditor install method
0.1.7
-----
* sem-ver:bugfix, fix init with PATH env error on windows
* fix doc
* update apk to 1.1.7 to fix dumpHierarchy, close #207
0.1.6
-----
* use atx-agent server -stop before launch
* force stop atx-agent when init
* fix launch atx-agent with wrong PATH, which may cause /info get wrong info
* fix test on android P emulator
* 加入aricv图像识别插件 (#250)
* update atx-agent version
0.1.5
-----
* fix init, because of mirror down
* fix xpath python2 support, perf create dir if not exists
* fix little bug
* update readme
* first xpath plugin version
* add more comment about xpath plugin
* add xpath plugin
0.1.4
-----
* update install method
* update install part
* add install test code
* fix fps collect
* update atx-agent version
* fix if log bug in ext/info
* 修改info插件调用模式 (#245)
* add test info plugin (#240)
* fix perf get data error (#239)
* Update README.md
* open python 3.7 support
* 更改一处类型提示错误 (#229)
* add beta method hooks\_register
* fix #206, init gives 'inf' as serial <class 'float'> (#216)
* 修改init不成功的问题 (#221)
* update to new atx-agent
* fix current\_app in sumsung, add tcp and udp in perf
* add images
* add fps
* swipe duration default 0.1(old 0.5), add swipe ui
* fix perf uiautomator in python2
* update doc
* fix perf d not exists bug
* add traffic into perf plugin
* update atx-agent version
* catch AttributeError in UIAutomatorServer
* add back implicitly wait
* add perf doc
* add perf plugin
* runyaml fix
* add plugin\_register and ocr plugin
* add plugin support
* let shell return namedtuple, remove outdated docs
* use q|query instead of xpath in steps
* add send\_action support
* fix #200
* add with into session, update oppo support
* fix merge conflict
* click add offset, support oppo install with browser
* add oppo install method, not finished yet
* fix str(err.data) encode error
* Update \_\_init\_\_.py
* add some comment
* 1.修改截图定位线
* raise error when error found in uiautomator2.cli install
* catch NullPointerExceptionError on jsonrpc call
* patch to catch UiAutomation not connect
* use github-mirror for update-apk command
* fix healthcheck
* add unlock screen for healthcheck
* add retry for objInfo
* fix conflict
* hot fix for update\_instance
* add implicit\_wait function
* remove pid file when stop atx-agent
0.1.3
-----
* fix init twice error, update atx-agent t0 0.4.1
* support vivo install
* add cancel request support
* fix python requires
* update to new version
* exclude py 3.7 version
* make u2cli work
* fix when no progress
* update uiautomator2.cli install
* show progress
* add missing file
* add u2cli entry
* add qrcode of qq
* add fail reason
* todo: add push folder support
* add --mirror document, ref #173
* add retry for dump\_hierarchy, because of UiDevice NullPointer Exception
* support github-mirror to make download faster
* chmod +x report bad mode on xiaomi HMNote3
* Change method of detecting executable dir
* merge openatx
* fix push to /data/local/tmp/mini... instead of /data/local/tmp
* fix requests RemoteDisconnected error
* Use pure-python-adb to get serials of all android devices when initializing
* If adb client can't connect to the adb server, try to use adb cli to start adb server
* Use pure-python-adb package to replace adb wrapper
* support --mirror
* fix get toast error
* hot fix for executable dir
* replace $ into -, fix #152
* update document
* use /data/local/tmp as default exec dir
* forgot to update apk version
* manually merge pr 46
* parens are necessary to catch multi exception in python3
* add screenshot(format=raw), fix init timeoutError, close #114
* Replace os.path.join with string format, so can run as normal on windows
* Revert changes to install\_atx\_agent
* Provide alternative execute directory to /data/local/tmp, so can install to devices like 'ZUK's Z2
* Solve ZUK's no permission to /data/local/tmp problem
* fix xpath wait, fix connect simulator bug, update apk, to make watchers faster
* Replace os.path.join with string format, so can run as normal on windows
* Revert changes to install\_atx\_agent
* Provide alternative execute directory to /data/local/tmp, so can install to devices like 'ZUK's Z2
* hot fix for session launch
* fix fix
* update apk version to fix #138 #137
* update view
* add xpath support
* fix session can not start app error
* start atx-agent if atx-agent dead when connect\_usb
* fix ext/htmlreport unpatch
* exists return class, fix watchers.watched not working bug
* add toast capture support
* add d.watchers.watched = True support
0.1.2
-----
* Import update on uiautomator-server, fix current app function fix #41
* \_wait\_install\_finished 增加 hasattr(sys.stdout, 'isatty')判断
* fix current\_ime() failed
* Solve ZUK's no permission to /data/local/tmp problem
* add shell function in order to replace adb\_shell one day
* support long running command
* package info should return None
* comment useless code
* update apk version, try to catch NullException
* run code again for NullObjectException and StaleObjectException
* fix install -g error
* handle StaleObjectException
* fix dns when network change
* only build in python 2.7
* add healthcheck in command line
* update travis
* format code, add click\_gone function
* change prompt
* add double click support
* add proxyhttp.go not finished yet
* stash code
* add support to patch long\_click
* add fancybox into htmlreport
* add qqicon
0.1.1
-----
* fix message in None error
* try to fix #73
* update atx-agent version
* add screenshot into cli
* fix for failed to init
* modified for android simulator
* add docstring for swipe\_points
* add swipe points description
* add --ignore-apk-check option
* add issue template
* little fix
* wait disable\_popups for fix
* UiObject support long\_click with duration
* add issue robot
* support back to init multi devices
* if adb without -g, remove -g and try again
* add DeleteImmediatelly in disable\_popups
* update apk version to support toast
* add support to show toast
* add how to do with popups
* update version
* add disable\_popups support
* update atx agent
* change TMPDIR to support upload large file
* fix UINotFoundEncoding error
* check if apk installed after init
* open u2 github URL after success init
* add adbkit-init
* fix raise exception unicode code encode error
* fix click\_nowait missing error
* support stop uiautomator keeper
* fix htmlreport
* add some useful link
* add htmlreport support, remove click\_nowait and tap
0.1.0
-----
* add session support
* add syntax error retry on screenshot error
* hot fix to fix atx-agent screenshot bug
* 修改import错误 :ImportError: cannot import name popup
* update atx-agent version
* send\_keys use adb shell input text when set\_fast\_ime failed. upgrade pos\_rel2abs function
* add tkgui for experiment
* show better app\_install progress on noatty, make healthcheck better
* update TOC
* sync to atx-agent new download logic
* travis fight
* no android for now
* boring travis non-python pip problem
* fix travis build
* add Android emulator to travis and deploy only once on py2.7
* clarify adb\_shell; fix typos
* Update README.md
* fix healthcheck on xiaomi device
0.0.3
-----
* fix apk version name
* hot fix
* not raise RuntimeError in current\_app()
* add window\_size api
* remove ReadTimeout from jsonrpc\_retry\_call
* update logic, when uiautomator2 is down, restart apk
* fix input method
* add timeout in screenshot and restart uiautomator.apk shen connect 502
* hot fix for weditor
* stop uiautomator before start when do healthcheck()
* open identify activity with am start -n
* fix deprecated warn error
* deprecated set\_click\_post\_delay
* add deault wait\_timeout set support
* add retry to prevent screenshot error on some special conditions
* update screenshot to support opencv
* update atx agent version
* update the connect method
* update atx-agent version
* add push\_url api
* 增加init时对代理的支持
* support install on emulator
* suppress warning when uninstall error
* rename examples/powerweb to webbattery
* add webpower ^\_^
* fix displayHeight error on Huawei
* update atx\_agent version to 0.1.1
* make pos\_rel2abs a little faster
* modify http\_timeout according to wait(timeout..)
0.0.2
-----
* update doc
* update doc
* support oppo auto install
* add app\_install\_local, handle serial contains &
* swipe\_points support percent points
* long click support seconds
* add minitouch install support
* add minitouch but not tested
* add FastInputIME
* add send\_keys method
* guesture relative pos to real, close #12
* fix click\_exists
* add gesture and pinch
* add select count and fling, scroll
* update ABOUT.rst addr
0.0.1
-----
* setup travis build on all\_branches
* add skip cleanup
* update doc again
* check com.github.uiautotor.test when init
* update badge link
* fix datetime error
* add debug
* add identify method
* add default timeout to requests
* update to new version
* change healthcheck logic, launch com.github.uiautomator and then HOME
* update atx-agent version to 0.0.9
* sync with atx-agent code
* when device ip is empty, connect\_usb will be called
* add pull support
* support stop in app\_start
* add app-stop-all method
* add unlock cli
* add watcher support
* update install guide
* add pypi version badge
* add readme
* am\_start add stop param
* click when exists
* add healthcheck and connect\_usb, close #3
* add unlock method
* add delay after click
* fix abilist is empty error
* add session check(check if app is alive when test is running
* fix atx-agent install error
* add clear cache support
* add pushfile support
* support kill all apps
* support percent positions
* fix detect device from adb devices -l error
* remove useless print
* support init multi devices
* support percent tap, recode init logic
* fix raise UiObjectNotFoundError error
* fix incompatible in py3
* tired, want to sleep
* add output
* fix auto install method
* add auto install requirements scripts
* update document
* screenshot return PIL.Image
* ref |> update function app\_start(..) can input packagename and activity to start app
* update doc to lastest
* add selector long\_click, update some doc
* add example test
* set default port to 7912
* update readme
* add connect(..) and add some doc
* fix some error
* initial project
* Initial commit