diff --git a/skyvern-frontend/src/components/ui/drawer.tsx b/skyvern-frontend/src/components/ui/drawer.tsx index f62cc2e4..c8c445c9 100644 --- a/skyvern-frontend/src/components/ui/drawer.tsx +++ b/skyvern-frontend/src/components/ui/drawer.tsx @@ -41,7 +41,7 @@ const DrawerContent = React.forwardRef< ({ + proxyLocation: ProxyLocation.Residential, + timeoutMinutes: 60, + }); const page = searchParams.get("page") ? Number(searchParams.get("page")) : 1; const itemsPerPage = searchParams.get("page_size") @@ -97,12 +113,19 @@ function BrowserSessions() { !nextPageBrowserSessions || nextPageBrowserSessions.length === 0; - function handleRowClick(browserSessionId: string) { - window.open( - window.location.origin + `/browser-session/${browserSessionId}`, - "_blank", - "noopener,noreferrer", - ); + function handleRowClick( + e: React.MouseEvent, + browserSessionId: string, + ) { + if (e.ctrlKey || e.metaKey) { + window.open( + window.location.origin + `/browser-session/${browserSessionId}`, + "_blank", + "noopener,noreferrer", + ); + } else { + navigate(`/browser-session/${browserSessionId}`); + } } return ( @@ -126,10 +149,7 @@ function BrowserSessions() { + + + + + ); }