openatx / uiautomator2

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

feat:allow set display_id for screenshot api #982

Closed yinkh closed 1 month ago

yinkh commented 1 month ago

Screenshot api get blank image when use fold device. should allow set display_id for screenshot api.

codecov[bot] commented 1 month ago

Codecov Report

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

Project coverage is 25.33%. Comparing base (72fd49b) to head (cc2cde8). Report is 4 commits behind head on master.

Files Patch % Lines
uiautomator2/_selector.py 66.66% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #982 +/- ## ========================================== + Coverage 24.85% 25.33% +0.47% ========================================== Files 19 20 +1 Lines 2808 2870 +62 Branches 431 444 +13 ========================================== + Hits 698 727 +29 - Misses 2085 2118 +33 Partials 25 25 ```

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