Skip to content

Commit

Permalink
trim element tree bugfix (#744)
Browse files Browse the repository at this point in the history
  • Loading branch information
LawyZheng authored Aug 28, 2024
1 parent a6a5452 commit 8c57695
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion skyvern/webeye/scraper/scraper.py
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ def trim_element_tree(elements: list[dict]) -> list[dict]:
if "frame" in queue_ele:
del queue_ele["frame"]

if not queue_ele.get("interactable"):
if "id" in queue_ele and not queue_ele.get("interactable"):
del queue_ele["id"]

if "attributes" in queue_ele:
Expand Down

0 comments on commit 8c57695

Please sign in to comment.