Automate browser based workflows with AI
Python aiapiautomationbrowserbrowser-automationcomputergptllmplaywrightpowerautomatepuppeteerpythonrpaseleniumvisionworkflow
Choose the latest action in timeline (#1435)
Shuchang Zhenga703ef4c629c
diff --git a/skyvern-frontend/src/router.tsx b/skyvern-frontend/src/router.tsxindex aad162198..74ec6eef5 100644--- a/skyvern-frontend/src/router.tsx+++ b/skyvern-frontend/src/router.tsx@@ -117,6 +117,10 @@ const router = createBrowserRouter([index: true,element: <Navigate to="overview" />,},+ {+ path: "blocks",+ element: <Navigate to="overview" />,+ },{path: "overview",element: <WorkflowRunOverview />,diff --git a/skyvern-frontend/src/routes/workflows/workflowRun/WorkflowRunOverview.tsx b/skyvern-frontend/src/routes/workflows/workflowRun/WorkflowRunOverview.tsxindex af415dcec..988254f6b 100644--- a/skyvern-frontend/src/routes/workflows/workflowRun/WorkflowRunOverview.tsx+++ b/skyvern-frontend/src/routes/workflows/workflowRun/WorkflowRunOverview.tsx@@ -67,8 +67,10 @@ function WorkflowRunOverview() {timelineItem.block.actions &&timelineItem.block.actions.length > 0) {- return timelineItem.block- .actions[0] as WorkflowRunOverviewActiveElement;+ const last = timelineItem.block.actions.length - 1;+ return timelineItem.block.actions[+ last+ ] as WorkflowRunOverviewActiveElement;}return timelineItem.block;}