From 2d9d9c95382f5532d1af6ad637cb07e91c44b217 Mon Sep 17 00:00:00 2001 From: Rohit Date: Tue, 11 Mar 2025 13:00:13 +0530 Subject: [PATCH] feat: set session recording url on url change --- src/components/browser/BrowserNavBar.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/browser/BrowserNavBar.tsx b/src/components/browser/BrowserNavBar.tsx index c3db51c1..72456931 100644 --- a/src/components/browser/BrowserNavBar.tsx +++ b/src/components/browser/BrowserNavBar.tsx @@ -54,6 +54,7 @@ const BrowserNavBar: FC = ({ const handleCurrentUrlChange = useCallback((url: string) => { handleUrlChanged(url); setRecordingUrl(url); + window.sessionStorage.setItem('recordingUrl', url); }, [handleUrlChanged, recordingUrl]); useEffect(() => {