Skip to content

Automate browser based workflows with AI

add control buttons to debugger; change 'cede control' text (#3226)

Jonathan Dobsona6141d178614
diff --git a/skyvern-frontend/src/components/BrowserStream.tsx b/skyvern-frontend/src/components/BrowserStream.tsx
index 9ee8ae4c9..15727d4dd 100644
--- a/skyvern-frontend/src/components/BrowserStream.tsx
+++ b/skyvern-frontend/src/components/BrowserStream.tsx
@@ -362,7 +362,7 @@ function BrowserStream({
size="sm"
>
<ExitIcon className="mr-2 h-4 w-4" />
- cede control
+ stop controlling
</Button>
</div>
)}
diff --git a/skyvern-frontend/src/routes/workflows/editor/Workspace.tsx b/skyvern-frontend/src/routes/workflows/editor/Workspace.tsx
index 475861d4a..ed1c9d442 100644
--- a/skyvern-frontend/src/routes/workflows/editor/Workspace.tsx
+++ b/skyvern-frontend/src/routes/workflows/editor/Workspace.tsx
@@ -565,8 +565,9 @@ function Workspace({
activeDebugSession.browser_session_id &&
!cycleBrowser.isPending ? (
<BrowserStream
- interactive={interactor === "human"}
+ interactive={false}
browserSessionId={activeDebugSession.browser_session_id}
+ showControlButtons={true}
/>
) : (
<div className="flex h-full w-full flex-col items-center justify-center gap-2 pb-2 pt-4 text-sm text-slate-400">