mirror of
https://github.com/TheFunny/ArisuAutoSweeper
synced 2026-10-10 13:32:26 +00:00
fix: change hierarchy dump compression to false for better compatibility
This commit is contained in:
@@ -375,7 +375,7 @@ class Uiautomator2(Connection):
|
||||
|
||||
@retry
|
||||
def dump_hierarchy_uiautomator2(self) -> etree._Element:
|
||||
content = self.u2.dump_hierarchy(compressed=True)
|
||||
content = self.u2.dump_hierarchy(compressed=False)
|
||||
hierarchy = etree.fromstring(content.encode('utf-8'))
|
||||
return hierarchy
|
||||
|
||||
|
||||
Reference in New Issue
Block a user