Automate browser based workflows with AI
Python aiapiautomationbrowserbrowser-automationcomputergptllmplaywrightpowerautomatepuppeteerpythonrpaseleniumvisionworkflow
make the press_sequentially timeout 3x of the estimation time (#360)
Shuchang Zheng5d1dac0902f0
diff --git a/skyvern/webeye/actions/handler.py b/skyvern/webeye/actions/handler.pyindex d4d9ae390..81eb6b708 100644--- a/skyvern/webeye/actions/handler.py+++ b/skyvern/webeye/actions/handler.py@@ -211,7 +211,7 @@ async def handle_input_text_action(await locator.clear()text = get_actual_value_of_parameter_if_secret(task, action.text)# 1.5 times the time it takes to type the text so it has time to finish typing- total_timeout = max(len(text) * TEXT_INPUT_DELAY * 1.5, SettingsManager.get_settings().BROWSER_ACTION_TIMEOUT_MS)+ total_timeout = max(len(text) * TEXT_INPUT_DELAY * 3, SettingsManager.get_settings().BROWSER_ACTION_TIMEOUT_MS)await locator.press_sequentially(text, delay=TEXT_INPUT_DELAY, timeout=total_timeout)return [ActionSuccess()]