fix: guard transient controls and verify timeline endpoints

This commit is contained in:
chenmingxuan committed 2026-11-02 13:54:50 +08:00
1 parent 479a185192
commit 00e62a663a
29 files changed
+1150 -90

No files matched your search

+1 -2
View File
@@ -245,8 +245,7 @@ class UnifiedMobileController:
return await self._driver.input_text("", clear_existing=True)
async def get_ui_elements(self) -> list[dict]:
screen_data = await self._driver.get_screen_data()
return screen_data.ui_elements or []
return await self._driver.get_ui_elements()
async def get_screen_data(self) -> "ScreenDataResponse":
"""Get screen data including screenshot, UI hierarchy, dimensions, and platform."""