Automate browser based workflows with AI
Python aiapiautomationbrowserbrowser-automationcomputergptllmplaywrightpowerautomatepuppeteerpythonrpaseleniumvisionworkflow
fix none content frame (#659)
LawyZheng85d5e0de7fad
diff --git a/skyvern/webeye/utils/dom.py b/skyvern/webeye/utils/dom.pyindex 5598aa8a5..e1ce4fba9 100644--- a/skyvern/webeye/utils/dom.py+++ b/skyvern/webeye/utils/dom.py@@ -60,6 +60,9 @@ async def resolve_locator(child_frame = iframe_path.pop()frame_handler = await current_frame.query_selector(f"[{SKYVERN_ID_ATTR}='{child_frame}']")+ if frame_handler is None:+ raise NoneFrameError(frame_id=child_frame)+content_frame = await frame_handler.content_frame()if content_frame is None:raise NoneFrameError(frame_id=child_frame)