refactor unique id generation (#1781)

This commit is contained in:
Shuchang Zheng
2025-02-18 08:58:23 +08:00
committed by GitHub
parent 99e6b0d2ca
commit 5e49685c76
6 changed files with 226 additions and 107 deletions

View File

@@ -312,6 +312,9 @@ class SkyvernElement:
def get_frame(self) -> Page | Frame:
return self.__frame
def get_frame_index(self) -> int:
return self.__static_element.get("frame_index", -1)
def get_locator(self) -> Locator:
return self.locator