openatx / uiautomator2

Android Uiautomator2 Python Wrapper
MIT License
6.18k stars 1.35k forks source link

remove xpath useless method #976

Closed codeskyblue closed 1 month ago

codeskyblue commented 1 month ago

support new usage

(d.xpath("App") | d.xpath("NFC")).click()

(d.xpath("//android.widget.TextView") & d.xpath("App")).click()
codecov[bot] commented 1 month ago

Codecov Report

Attention: Patch coverage is 55.44041% with 86 lines in your changes are missing coverage. Please review.

Project coverage is 24.87%. Comparing base (64c6f2b) to head (32437ef).

Files Patch % Lines
uiautomator2/xpath.py 63.30% 42 Missing and 9 partials :warning:
uiautomator2/core.py 20.00% 16 Missing :warning:
uiautomator2/utils.py 8.33% 11 Missing :warning:
uiautomator2/__init__.py 33.33% 4 Missing :warning:
uiautomator2/watcher.py 60.00% 4 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #976 +/- ## ========================================== + Coverage 24.39% 24.87% +0.47% ========================================== Files 19 19 Lines 2820 2802 -18 Branches 430 429 -1 ========================================== + Hits 688 697 +9 + Misses 2106 2080 -26 + Partials 26 25 -1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.