Automate browser based workflows with AI
Python aiapiautomationbrowserbrowser-automationcomputergptllmplaywrightpowerautomatepuppeteerpythonrpaseleniumvisionworkflow
fix multi level selection issue (#2350)
Shuchang Zhengee5f98f45188
diff --git a/skyvern/webeye/actions/handler.py b/skyvern/webeye/actions/handler.pyindex 522f3d110..a96ac5b1a 100644--- a/skyvern/webeye/actions/handler.py+++ b/skyvern/webeye/actions/handler.py@@ -2286,6 +2286,7 @@ async def sequentially_select_from_dropdown(dropdown_menu_element: SkyvernElement | None = None,force_select: bool = False,target_value: str = "",+ continue_until_click: bool = False,) -> CustomSingleSelectResult | None:"""TODO: support to return all values retrieved from the sequentially select@@ -2411,6 +2412,14 @@ async def sequentially_select_from_dropdown()continue+ if continue_until_click:+ LOG.info(+ "Continue the selecting until the dropdown menu is closed",+ step_id=step.step_id,+ task_id=task.task_id,+ )+ continue+screenshot = await page.screenshot(timeout=settings.BROWSER_SCREENSHOT_TIMEOUT_MS)mini_goal = (input_or_select_context.field