Automate browser based workflows with AI
Python aiapiautomationbrowserbrowser-automationcomputergptllmplaywrightpowerautomatepuppeteerpythonrpaseleniumvisionworkflow
optimize scrolling screenshot logic (#3058)
LawyZheng4ec4d7d1f52c
diff --git a/skyvern/webeye/utils/page.py b/skyvern/webeye/utils/page.pyindex e5a28b746..e107c19ea 100644--- a/skyvern/webeye/utils/page.py+++ b/skyvern/webeye/utils/page.py@@ -291,6 +291,9 @@ class SkyvernFrame:"Failed to take full page screenshot, fallback to use playwright full page screenshot",exc_info=True,)+ # reset x and y to None to avoid the scroll_to_x_y call in finally block+ x = None+ y = Nonereturn await _current_viewpoint_screenshot_helper(page=page, file_path=file_path, timeout=timeout, full_page=True)