Automate browser based workflows with AI
Python aiapiautomationbrowserbrowser-automationcomputergptllmplaywrightpowerautomatepuppeteerpythonrpaseleniumvisionworkflow
Handle exception if missing video (#1787)
Maksim Ivanovad7de04dc527
diff --git a/skyvern/webeye/browser_factory.py b/skyvern/webeye/browser_factory.pyindex 23561ae60..674351dd7 100644--- a/skyvern/webeye/browser_factory.py+++ b/skyvern/webeye/browser_factory.py@@ -485,6 +485,8 @@ class BrowserState:self.browser_artifacts.video_artifacts[index].video_path = await page.video.path()except asyncio.TimeoutError:LOG.info("Timeout to get the page video, skip the exception")+ except Exception:+ LOG.exception("Error while getting the page video", exc_info=True)returntarget_lenght = index + 1@@ -496,6 +498,8 @@ class BrowserState:self.browser_artifacts.video_artifacts[index].video_path = await page.video.path()except asyncio.TimeoutError:LOG.info("Timeout to get the page video, skip the exception")+ except Exception:+ LOG.exception("Error while getting the page video", exc_info=True)returnasync def get_or_create_page(