Automate browser based workflows with AI
Python aiapiautomationbrowserbrowser-automationcomputergptllmplaywrightpowerautomatepuppeteerpythonrpaseleniumvisionworkflow
support both int and str for element_id (#423)
Kerem Yilmazd89c948b763d
diff --git a/skyvern/webeye/actions/actions.py b/skyvern/webeye/actions/actions.pyindex fce6f485f..119fe0f93 100644--- a/skyvern/webeye/actions/actions.py+++ b/skyvern/webeye/actions/actions.py@@ -47,7 +47,7 @@ class Action(BaseModel):action_type: ActionTypedescription: str | None = Nonereasoning: str | None = None- element_id: str | None = None+ element_id: int | str | None = None# DecisiveAction (CompleteAction, TerminateAction) fieldserrors: list[UserDefinedError] | None = None@@ -64,7 +64,7 @@ class Action(BaseModel):class WebAction(Action):- element_id: str+ element_id: int | strclass DecisiveAction(Action):